|
POST
|
To do something like that, you would have to create a legend control that will ignore certain layers and replace them with whatever image you want. You can't modify the SOAP response (that would be very hoaky too).
... View more
09-01-2010
08:18 AM
|
0
|
0
|
477
|
|
POST
|
I would create a custom usercontrol that contains everything you want in the maptip (including borders etc). Then programmatically you simply set: MyGraphicsLayer.MapTip = new MyMapTipUserControl(); You can still do all the binding stuff in this user control as you normally would when defining it straight in the Xaml.
... View more
09-01-2010
08:17 AM
|
0
|
0
|
919
|
|
POST
|
I'm not sure I'm completely following this one. When mention only one map, but then go on to say "the first map". Did you mean the first layer? (although a layer doesn't have a 'resolution') If a map shows right, the resolution cannot be NaN. A layer doesn't have a resolution When do you check the Map.Resolution property? Before or after the layers has initialized? What error did you get on the page? Could you share the exception and the stacktrace?
... View more
09-01-2010
08:15 AM
|
0
|
0
|
1658
|
|
POST
|
There are actually not new map styles, but filters added to the tiles on the client using Flex. You can accomplish the same effect by using the Effect property on the layer by specifying a PixelShader that does the same color manipulation. See http://wpffx.codeplex.com for a set of useful pixelshaders.
... View more
08-31-2010
11:53 AM
|
0
|
0
|
764
|
|
POST
|
I can only agree that the print solution in SL4 is not perfect. It will get you further than with SL3, but it's definitely not a full print story (yet). We have been very vocal to Microsoft about this. The easiest way is to create a separate usercontrol that represents your entire layout (it should resize and reflow as you change the control size), and then load a map into that. You then just print that usercontrol instance.
... View more
08-31-2010
11:46 AM
|
0
|
0
|
1091
|
|
POST
|
Make sure you give it coordinates that are relative to the upper left corner of the map. You can transform them using the TransformToVisual command. Ex: Point relativeToMap = uiElementThatInputPointAreRelativeTo.TransformToVisual(MyMap).Transform(inputPoint);
... View more
08-31-2010
11:42 AM
|
0
|
0
|
863
|
|
POST
|
You can only change the map's projection when the map's Layers collection is empty or before the map loads. Setting the spatial reference of the map is done simply by setting a startup extent, and ensuring that the spatial reference of that extent is defined.
... View more
08-31-2010
11:40 AM
|
0
|
0
|
518
|
|
POST
|
The REST API doesn't expose legend information, so there is no simple way to do this. If you are hitting an ArcGIS Server 10 (your example aboe is not!), FeatureLayers do get render information from the server, but you will have to go through each symbol defined on the renderer (there could be more whan one symbol depending on what service you are hitting) and set these symbols on the Symbol property for the ESRI.ArcGIS.Client.Toolkit.Primitives.SymbolDisplay control.
... View more
08-31-2010
11:37 AM
|
0
|
0
|
1435
|
|
POST
|
Please see the API Reference for the map, where the relation between scale and resolution is explained: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map.html
... View more
08-31-2010
11:34 AM
|
0
|
0
|
519
|
|
POST
|
We did not add any mousewheel support. This comes out of the box since Silverlight 3. We do listen for the event and perform a zoom. I don't get why you can't add this from XAML. Works fine for me. However your might want to see the limitations mentioned about Silverlight and some platforms/browsersettings on MSDN. The is absolutely no reason to change the zoomThrottleTimer. This is only a timer used for optimization (basically prevent overloading the server that you are hitting). I don't see why you would need to change this. You have a map control, which is sealed - why is that? you are closing yourself for extensions from a community. I'd love to hear what it is that you need that requires you to inherit from the map control. There are many ways to extend. Subclassing is only one, and depending on the use case quite often not even the best solution. That's why I'd like to understand your use case.
... View more
08-31-2010
11:32 AM
|
0
|
0
|
1348
|
|
POST
|
Remember that the manipulation events will fire very frequent, and you are thus triggering an enormous amount of zoom animations (likely even faster than the screen framerate). You are probably better off setting the extent directly, instead of calling the zoom and pan animations.
... View more
08-30-2010
07:56 AM
|
0
|
0
|
1312
|
|
POST
|
The precision of the output is based on the zoom scale you are at. Basically the more you zoom in, the more accurate you are measuring, and more decimals will be shown. So in other words: It only shows the number of significant digits. Showing anything more than that would be misleading.
... View more
08-27-2010
01:00 PM
|
0
|
0
|
1346
|
|
POST
|
There's currently a limitation to ArcGISDynamicMapserviceLayer with respect to very large definitions. This shouldn't really be because of the proxy though. Are you saying it works if you don't use a proxy?
... View more
08-27-2010
12:56 PM
|
0
|
0
|
576
|
|
POST
|
Did you set the website to be the startup project? (as opposed to the Silverlight project) Is your app loading Default.htm ?
... View more
08-27-2010
12:55 PM
|
0
|
0
|
644
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|