|
POST
|
I apologize for the inconvenience. FeatureDataGrid.SelectedGraphics is always equal to the GraphicsLayer.SelectedGraphics in v2.3 and up. You might want to use e.AddedItems as suggested in post# 2 of this thread: http://forums.arcgis.com/threads/46013-FeatureDataGrid-Selection-Changed-Event
... View more
03-31-2012
04:46 PM
|
0
|
0
|
1361
|
|
POST
|
This related thread might also be helpful: http://forums.arcgis.com/threads/46013-FeatureDataGrid-Selection-Changed-Event. You can use e.AddedItems (which contains the selected row) and convert to graphic (see post# 2).
... View more
03-31-2012
04:43 PM
|
0
|
0
|
867
|
|
POST
|
Yes. I believe your service was SingleFusedMapCache=False.
... View more
03-31-2012
04:39 PM
|
0
|
0
|
664
|
|
POST
|
Another way is to set GraphicsLayer.MapTip. FeatureLayer inherits from GraphicsLayer. In this code, we are requesting for all fields and displaying the key-value pair (all attributes). This is triggered on mouse enter. Hovering a feature on your layer displays the maptip. You update the look and feel of your MapTip by adding border as in this SDK sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerMapTips. So your options are: InfoWindow, Toolkit.MapTip, or GraphicsLayer.MapTip.
<esri:FeatureLayer ID="MyLayer" OutFields="*"
Url="yourServiceUrl">
<esri:FeatureLayer.MapTip>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<ItemsControl ItemsSource="{Binding Keys}" Grid.Column="0" />
<ItemsControl ItemsSource="{Binding Values}" Grid.Column="1" />
</Grid>
</esri:FeatureLayer.MapTip>
</esri:FeatureLayer>
... View more
03-31-2012
04:37 PM
|
0
|
0
|
988
|
|
POST
|
I'm not sure if this help doc would help: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//0053000000nz000000. If you have publishing questions, you might need to contact ArcGIS Server or Desktop. Our QueryTask is meant to retrieve features from a feature layer in an ArcGIS Server map service or a spatially-enabled table in SQL Server via the MapIt Spatial Data Service.
... View more
03-31-2012
04:29 PM
|
0
|
0
|
587
|
|
POST
|
I think you want to use SaveFileDialog: http://msdn.microsoft.com/en-us/library/system.windows.controls.savefiledialog%28v=vs.95%29.aspx or maybe WebClient.OpenReadAsync http://msdn.microsoft.com/en-us/library/ms144211%28v=vs.95%29.aspx? How does the shape file relate to your layer? HtmlPage.Navigate() needs a URL that can be opened in a browser.
... View more
03-31-2012
04:09 PM
|
0
|
0
|
2710
|
|
POST
|
This blog post might be helpful: http://blogs.esri.com/esri/arcgis/2009/08/24/troubleshooting-blank-layers/. You can update the client access policy with this: http://server.arcgisonline.com/clientaccesspolicy.xml. Your service currently only allow SOAPAction. This is causing Silverlight security exception.
... View more
03-27-2012
09:40 AM
|
0
|
0
|
664
|
|
POST
|
You can use MapGesture events to handle touch and then exclude the mouse promoted events using the following code: if (e.StylusDevice != null && e.StylusDevice.TabletDevice != null &&
e.StylusDevice.TabletDevice.Type == TabletDeviceType.Touch)
return;
... View more
03-24-2012
08:30 PM
|
0
|
0
|
619
|
|
POST
|
The source code for InfoWindow is available here: http://esrisilverlight.codeplex.com/. You're welcome to update it 🙂
... View more
03-24-2012
08:17 PM
|
0
|
0
|
512
|
|
POST
|
What version of the API are you using? If you are using v3.0, you need to use Expression Blend Silverlight 5 Preview.
... View more
03-24-2012
07:55 PM
|
0
|
0
|
604
|
|
POST
|
You can look at the following SDK sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryRelatedRecords
... View more
03-24-2012
07:37 PM
|
0
|
0
|
1860
|
|
POST
|
Once the output is of type GPDataFile. You can have the following XAML-code:
<HyperlinkButton x:Name="link" Content="{Binding Name}"
NavigateUri="{Binding Url}"
VerticalAlignment="Top" HorizontalAlignment="Center"/>
link.DataContext = gpParameter as GPDataFile;
... View more
03-24-2012
07:34 PM
|
0
|
0
|
1388
|
|
POST
|
Please use this forum: http://forums.arcgis.com/forums/211-ArcGIS-Viewer-for-Silverlight for Silverlight Viewer questions. Thanks 🙂
... View more
03-24-2012
04:34 PM
|
0
|
0
|
687
|
|
POST
|
This is by design. The mouse and touch events need to respond to either draw or map navigation, not both.
... View more
03-24-2012
04:30 PM
|
0
|
0
|
428
|
|
POST
|
You can also use Webmercator.ToGeographic()
var webMercator = new WebMercator();
var result = webMercator.ToGeographic(mapPoint) as MapPoint;
... View more
03-24-2012
04:26 PM
|
0
|
0
|
1240
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 09-11-2025 01:30 PM | |
| 1 | 06-06-2025 10:14 AM | |
| 1 | 03-17-2025 09:47 AM | |
| 1 | 07-24-2024 07:32 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|