|
POST
|
Likely there are lots of possibilities. One option is to first define your maptip as an ItemsControl allowing to display a list of attributes. Something like this (for example with a datagrid): <esri:FeatureLayer.MapTip>
<sdk:DataGrid ItemsSource="{Binding}" HeadersVisibility="None"/>
</esri:FeatureLayer.MapTip> Then you could develop a value converter taking an attributes dictionary as input and returning a dictionary with the attributes you want to display (how you filter the attributes is depending on your application). Then you can use this converter in XAML: <esri:FeatureLayer.MapTip>
<sdk:DataGrid ItemsSource="{Binding Converter={StaticResource myDictionaryFilterConverter}}" HeadersVisibility="None"/>
</esri:FeatureLayer.MapTip> Hope this helps.
... View more
02-10-2013
11:47 PM
|
0
|
0
|
946
|
|
POST
|
Did you look at the UndoLastVertex method? Seems to be what you are looking for.
... View more
02-07-2013
02:48 AM
|
0
|
0
|
744
|
|
POST
|
Did you look at various editing samples from the interactive SDK (e.g. using TemplatePicker or Edit Tools)?
... View more
02-06-2013
08:23 AM
|
0
|
0
|
457
|
|
POST
|
You are right there is an incoherence somewhere. The workaround is to create an attached property and to set the Url in this attached property. Note however that a layer is not a FrameworkElement and thus doesn't support DataContext. So you will be limited in the binding possibilities (but Binding to a static ressource should work).
... View more
02-06-2013
08:19 AM
|
0
|
0
|
1408
|
|
POST
|
Did you look at the LegendControl in the toolkit? It should help to achieve what you need. there is a sample here:http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#LegendWithTemplates
... View more
02-06-2013
08:10 AM
|
0
|
0
|
782
|
|
POST
|
From my understanding, instead of creating a feature layer you should use a QueryTask to get the info you need from the server. There is a sample here: http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#QueryWithoutMap
... View more
02-06-2013
08:07 AM
|
0
|
0
|
491
|
|
POST
|
What is not working exactly? Most generally for limiting the zoom in or zoom out scale you have to set the MinimumResolution and or the MaximumResolution of the map. Though not sure if this can help in your use case. Also take care that setting SnapToLevels to true limits as well the map resolution to the resolutions of the tiled layer. This might also explain your issue.
... View more
02-06-2013
08:00 AM
|
0
|
0
|
610
|
|
POST
|
The 'returnDistinctValues' option has been added recently at the server side (10.1 SP1) and is not yet exposed by the Silverlight API. We'll try to add this capability in a future version. Thanks for sharing your workaround, might be useful for others having the same need.
... View more
02-06-2013
07:50 AM
|
0
|
0
|
2352
|
|
POST
|
Could you share a repro case allowing to reproduce that issue? Thanks
... View more
02-06-2013
07:39 AM
|
0
|
0
|
926
|
|
POST
|
The customization of the flare cluster symbols is illustrated in this sample.
... View more
02-06-2013
07:37 AM
|
0
|
0
|
523
|
|
POST
|
On startup you create a map in Geographical Coordinates (tiled layer ESRI_StreetMap_World_2D). Then you can't display a Web Mercator tiled layer(such as http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer). You should either use only Web Mercator base maps (such as http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer) or change the spatial reference of the map by clearing all layers and resetting the Extent of the map before adding the new layers.
... View more
02-06-2013
07:34 AM
|
0
|
0
|
916
|
|
POST
|
How is created your polygon? If all X coordinates of your polygon are between -180 and 180, your polygon will not cross the date line (except if your polygon has been normalized and contains multi rings).
... View more
02-06-2013
07:23 AM
|
0
|
0
|
4167
|
|
POST
|
thanks, sorry can you be a little more clear on how to use the first option? Should be something like: var geometryInWebMercator = new ESRI.ArcGIS.Client.Projection.WebMercator().FromGeographic(geometryInWGS84); You'll find the documentation here. I have a FeatureSet, result from a query, now I'm triying to highlight the results (polygons) in a graphic layer but need to convert the cordinates of them from Geographic to WebMercator. there's a way to do it? If you are using a recent version of the ArcGIS API for Silverlight, the projection to WebMercator coordinates should be done automatically by the graphics layer so you should not have to do it by yourself. Another option, which avoids the conversion at client side, is to query the graphics directly in the map spatial reference by setting the OutSpatialReference of your query.
... View more
02-06-2013
07:18 AM
|
0
|
0
|
843
|
|
POST
|
There is no built-in function for parsing a MXD file at client side. The recommended way is to create a map service from the MXD on a server and to consume the services at client side.
... View more
02-06-2013
07:02 AM
|
0
|
0
|
551
|
|
POST
|
As your question seems more related to the Silverlight viewer, I suggest you post your question on the ArcGIS Viewer for Silverlight forum.
... View more
02-06-2013
06:48 AM
|
0
|
0
|
572
|
| 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
|