|
POST
|
ZoomTo is an asynchronous method whose duration is managed by the ZoomDuration property. If you call twice ZoomTo at the same time, the 2 methods won't be executed sequentially which is likely what you would expect. The way to do it is to subscribe to Map.ExtentChanged event, call ZoomTo, and call again 'ZoomTo' in the extent changed event Handler.
... View more
03-03-2013
10:50 PM
|
0
|
0
|
831
|
|
POST
|
ESRI, Since I am using the Webadaptor on my 10.1 ArcGIS Server do I need to reference port 6080 used by the Webadaptor?? Since version 10.1, ArcGIS server communicates over port 6080 and not the standard web port 80. From the client you can either hit directly arcgis server (port 6080) or hit the web adaptor with the port you choose during installation (generally 80). From your URL: http://abc:6080/arcgis/rest/services/VRP9/MapServer, it seems you are not going through the web adaptor (so http://abc/arcgis/rest/services/VRP9/MapServer can't work). You'll find documentation about cross domain requests to arcgis server here: http://resources.arcgis.com/en/help/main/10.1/index.html#//01550000051q000000
... View more
03-03-2013
10:44 PM
|
0
|
0
|
709
|
|
POST
|
The workaround for now might be you to set the Label of the corresponding LayerItemViewModel when you change the DisplayName. An easier workaround might also be to set ShowLegend to false and then again to true after changing the DisplayName. layer.DisplayName= "newDisplayName"; layer.ShowLegend=false; layer.ShowLegend=true;
... View more
02-21-2013
11:58 PM
|
0
|
0
|
1294
|
|
POST
|
The legend is supposed to refresh itself automatically when a property of the layers changes. However I noticed a bug: when changing the 'DisplayName', the legend is not refreshed. The workaround for now might be you to set the Label of the corresponding LayerItemViewModel when you change the DisplayName. We'll try to get it fixed in the API ASAP. Concerning the renderer, I was not able to reproduce the issue. When changing the layer renderer, the legend seems to refresh (if you found out a use case where that doesn't happen, a workaround might to call Legend.Refresh()). Thanks for reporting that.
... View more
02-21-2013
11:46 PM
|
0
|
0
|
1294
|
|
POST
|
Not that I see how it would help, but should I post a video on youtube of this happening? Sorry I can't reproduce. If you could share a simple repro case, that would be the best. I don't think the video would help. Did you try with the version 3.1? It contains some enhancements in loadLayersInView to avoid exceptions in some cases with tiled layers. Not sure it's the same case as yours but it might worth the test.
... View more
02-21-2013
11:17 PM
|
0
|
0
|
1283
|
|
POST
|
By default, when using a text symbol, the location of the node is the upper left corner of the TextSymbol. You can change that by setting an OffsetX and OffsetY to your text symbol. That being said I am not sure that will solve your issue. The offset will still be the same whatever your map scale (note that the offset is in pixel not in map coordinates). I guess what you would need is a label engine that would try to avoid overlapping labels but this doesn't exist at client side yet.
... View more
02-21-2013
10:50 PM
|
0
|
0
|
932
|
|
POST
|
So, the orig problem described in the first post is not solved, but the export problem I was seeing (which I thought was related) is solved. A graphicslayer has no spatial reference associated to it. The spatial reference is defined by graphic (and can be different by graphic).
... View more
02-21-2013
10:39 PM
|
0
|
2
|
3278
|
|
POST
|
Alternatively, for the layers you don't want to see in the legend, you can set the flag ShowLegend to false.
... View more
02-21-2013
10:37 PM
|
0
|
0
|
782
|
|
POST
|
Look at this incident which is more than two months old. Esri Incident #1113122. The we all including the analyst got very frustrated. I have map services that I used in creating a simple app using the SL Viewer GUI and I would like to use the same map services (some services have sub-layers) for an re-invented app with additional functionality and got stuck with this issue. If you can't find the notes for the incident, just drop a note here and I can supply them. Thanks in advance for looking into this. If you have a way to reproduce the problem without using the silverlight viewer that would be very helpful. If you'd rather you can send your repro case to my mail
... View more
02-21-2013
09:52 AM
|
0
|
0
|
855
|
|
POST
|
public static SimpleFillSymbol GetRandomSimpleFillSymbol() { return new SimpleFillSymbol() { Fill = GetRandomSolidBrush() }; } Try by replacing 'new SimpleFillSymbol()' by 'new ESRI.ArcGIS.Client.FeatureService.Symbols.SimpleFillSymbol()' The latter symbol supports the selection but is supposed to be for internal use only. So normally you should create your own symbol that supports the selection state.
... View more
02-21-2013
06:28 AM
|
0
|
0
|
2485
|
|
POST
|
You can customize the legend to allow changing the transparency of a client side group layer. But you can't change the transparency of a group layer inside an ArcGISDynamicMapServiceLayer. You have either to change it at the server side before publishing your service or to set the LayerDrawingOptions if your layer supports the Dynamic Layer Capabilities.
... View more
02-20-2013
11:55 PM
|
0
|
0
|
553
|
|
POST
|
What do you mean by 'symbols'? I meant, did you instantiate by code one symbol of the ESRI.ArcGIS.Client.Symbols namespace in order to set the Symbol property of a renderer? From your question I guess you didn't, but It was worth checking because these symbols don't support the SelectionColor
... View more
02-20-2013
11:44 PM
|
0
|
0
|
2485
|
|
POST
|
if (featureSet != null) { foreach (var feature in featureSet) { feature.Selected = true; } context.Layers.ActiveParcelLayer.Refresh(); OnSelectionChanged(); } The features returned by the query tasks and the features of your graphics layer are not the same, so setting feature.Selected to true has no effect on the feature in the graphics layer. I think you should use the ObjectId to retrieve the features of the graphics layer having the same objectId as the features returned by your query.
... View more
02-20-2013
08:49 AM
|
0
|
0
|
1239
|
|
POST
|
Some symbols don't support the 'SelectionColor'. Did you create your symbols by yourself or did you get them from the service?
... View more
02-20-2013
08:45 AM
|
0
|
0
|
2485
|
|
POST
|
I have recently updated our map to use the GraphicsDataSource which has required me to separate my items onto two different layers because the items come from two different observable collections and the GraphicsDataSource only supports/works with one collection as its items source, which makes sense. Maybe you could keep one GraphicsLayer only by using a CompositeCollection that contains both of your collections (not tested though)
... View more
02-18-2013
03:59 AM
|
0
|
0
|
1309
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-12-2025 03:01 AM | |
| 1 | 10-14-2025 09:24 AM | |
| 1 | 06-13-2013 09:22 AM | |
| 1 | 04-29-2022 02:21 AM | |
| 1 | 04-29-2022 02:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-30-2025
08:06 AM
|