|
POST
|
You can look at this Silverlight Sample that demonstrates how to calculate at client side the shortest distance between a point a set of lines or polygons. Another option is to calculate at server side using the Geoprocessing tools.
... View more
11-07-2014
05:45 AM
|
1
|
1
|
1581
|
|
POST
|
With the help of a colleague, I eventually figured out the issue. There is actually a config file that lists the mime types that the local server can serve. Par default, only lyr files are allowed.
{
"lyr" : "application/octet-stream"
}
By adding a zip entry in this file, your GP task works:
{ "lyr" : "application/octet-stream" , "zip" : "application/octet-stream" }
The file is called mimeTypes.json and is under C:\Program Files (x86)\ArcGIS SDKs\DotNet10.2.4\WindowsDesktop\bin\arcgisruntime10.2.4\LocalServer64\bin (or LocalServer86 in 32bits) It must be edited manually. /Dominique
... View more
11-07-2014
04:18 AM
|
0
|
1
|
1315
|
|
POST
|
Additional info:
I deployed the test app in server that does not required proxy
Except if you deploy in Google server, a proxy is always required to access the Google server that has no cross domain Policy file (or actually has a Policy file that denies access)
... View more
11-07-2014
12:54 AM
|
0
|
0
|
934
|
|
POST
|
Hi Muthu, Using a proxy doesn't prevent Silverlight from checking the Policy file. You need to have a cross domain Policy file at the root of your proxy server. The main advantage of the proxy is that the server is in your hands while the google server is not. For testing purpose, you can use the ArcGIS SL demo proxy: ProxyUrl="http://servicesbeta3.esri.com/SilverlightDemos/ProxyPage/proxy.ashx" That may give a clue about your issue. You should see a succesful request to http://servicesbeta3.esri.com/clientaccesspolicy.xml and then the requests to the Google mapengine going though the proxy.
... View more
11-07-2014
12:48 AM
|
0
|
0
|
934
|
|
POST
|
The editor can't be activated while the map view spatial reference has not been established. To know that, you can either subscribe to MapView.SpatialReferenceeChanged event, or wait for all layers to load by using MapView.LayersLoadedAsync:
await MyMapView.LayersLoadedAsync();
... View more
11-07-2014
12:00 AM
|
0
|
2
|
1940
|
|
POST
|
I don't get in your code how HpmInfoWindow is defined. It looks strangly defined twice: once in XAML, once in code. Also the map has not the same name in XAML and in code (HpmMap vs HpmEsriBaseMap).
... View more
11-05-2014
10:53 AM
|
0
|
1
|
1630
|
|
POST
|
We were able to reproduce the issue which needs further investigations. We'll let you know as soon as we figured out the issue... Thanks
... View more
11-05-2014
10:34 AM
|
0
|
0
|
1315
|
|
POST
|
You can set the MapView TimeExtent property. Then the layers that support time will use it. Example: <esri:MapView> <esri:MapView.TimeExtent > <esri:TimeExtent Start="07/01/2004" End="07/01/2004" /> </esri:MapView.TimeExtent> <esri:Map > <esri:ArcGISImageServiceLayer ServiceUri="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/World/MODIS/ImageServer" /> </esri:Map> </esri:MapView>
... View more
11-05-2014
09:55 AM
|
0
|
0
|
830
|
|
POST
|
Using both the map mouse event and the graphics layer mouse event should work. In the graphicslayer mouse event Handler, set e.Handled to true to prevent the event from being propagated to the map. So your map mouse event Handler will only be called for mouse events out of existing graphics.
... View more
11-05-2014
05:47 AM
|
1
|
0
|
1090
|
|
POST
|
At this time, the legend control provided by the toolkit doesn't manage the visibility of the sublayers. You are considering to support that in a future version but there is no guarantee yet.
... View more
11-05-2014
02:21 AM
|
1
|
1
|
1126
|
|
POST
|
One option is to use an ElementLayer containing the video who want to show inside your map. There is sample here: ArcGIS Runtime SDK for WPF Samples
... View more
11-05-2014
02:18 AM
|
2
|
2
|
873
|
|
POST
|
You can set to "*" the OutFields property of your underlying ServiceFeatureTable Example: <esri:FeatureLayer ID="MyFeatureLayer"> <esri:FeatureLayer.FeatureTable> <esri:ServiceFeatureTable ServiceUri="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/2" OutFields="*" /> </esri:FeatureLayer.FeatureTable> </esri:FeatureLayer>
... View more
11-04-2014
12:24 AM
|
0
|
0
|
609
|
|
POST
|
Sure. In a few words, its' an enhanced version of the GraphicsLayer that enables displaying (and possibly editing) features from an ArcGIS Server REST service. But better to point to the FeatureLayer documentation. So a FeatureLayer in Snapshot mode is 'almost' equivalent to a GraphicsLayers populated by yourself by the result of a query task.
... View more
10-30-2014
12:33 PM
|
2
|
1
|
1706
|
|
POST
|
Yes that's an option but you might not need the find task. Once you created the feature layer, the features are loaded at client side and you could loop on features (featureLayer.Graphics) and select the features that fit with your criteria. Another option might be you to create a graphicsLayer instead of a FeatureLayer and to populate the graphicsLayer with the result of the FindTask. There is a sample here: ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers
... View more
10-30-2014
10:55 AM
|
2
|
3
|
1706
|
|
POST
|
Graduated renderers are not exposed by the .Net API yet (it's on the roadmap though). Nevertheless for the simplest cases you should be able to get the expected result by using a ClassBreakRenderer and setting a symbol with the right size by range of values.
... View more
10-30-2014
08:15 AM
|
1
|
5
|
2040
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 09-07-2021 03:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-30-2025
08:06 AM
|