|
POST
|
We have ArcGis Silverlight API 1.2 application. Will it work with new ArcGis Server 10.1? Yes it will work. ArcGIS server 10.1 is compatible with previous. But obviously we won't be able to take advantage of the new features added in the new versions of ArcGIS server and the new versions of Silverlight API.
... View more
09-20-2012
06:56 AM
|
0
|
0
|
507
|
|
POST
|
I'm getting the error "Cannot convert type 'ESRI.ArcGIS.Client.LayerInfo' to 'ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer'. This is the line with the problem. ArcGISDynamicMapServiceLayer EMDataLayer = (ArcGISDynamicMapServiceLayer)EMDataLayer.Layers[20]; You need to get the layer from the Map, not from the layer itself. ArcGISDynamicMapServiceLayer EMDataLayer = (ArcGISDynamicMapServiceLayer)myMap.Layers[20]; Though, the code will be clearer if you give an ID to your layer in XAML, so you can reuse this ID by code: ArcGISDynamicMapServiceLayer EMDataLayer = (ArcGISDynamicMapServiceLayer)myMap.Layers["MyLayerId"];
... View more
09-20-2012
06:49 AM
|
0
|
0
|
2498
|
|
POST
|
You might get better answers by posting your question on the Viewer forum : http://forums.arcgis.com/forums/211-ArcGIS-Viewer-for-Silverlight
... View more
09-16-2012
10:47 PM
|
0
|
0
|
486
|
|
POST
|
Likely a map spatial reference issue. If you map is not using geographical coordinates, the graphics have to be projected on the fly. To do that, you have to set the ProjectionService of your graphicsLayer. Another option is to force your map in geographical coordinates by setting a geographical extent (WKID=4326) to your map.
... View more
09-16-2012
10:44 PM
|
0
|
0
|
930
|
|
POST
|
FSet = new FeatureSet();
//nothing added to FSet.Features
Parameters.Add(new GPFeatureRecordSetLayer("BuildingPolygons_Input", FSet)); This code looks good. But it may happen that your tool doesn't support empty feature set and return the "Unable to complete the operation" message. Are you able to run your tool directly from your browser (i.e without SL API)?
... View more
09-14-2012
06:21 AM
|
0
|
0
|
1873
|
|
POST
|
I'm going to guess that I'll have to hook into a mouse event and when it slows to a certain point, find the nearest feature from layer 1, then fire off an async call to get the associated data from layer 2, then display it. ? The easier way to get maptips is to set the Maptip property of the FeatureLayers. There is a sample here : http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#GraphicsMapTip (the maptip is set in XAML but the same thing can be made by code).
... View more
09-14-2012
06:15 AM
|
0
|
0
|
1110
|
|
POST
|
No idea. I suggest you use fiddler to look at the query request sent to the server. That might give a clue.
... View more
09-13-2012
11:35 PM
|
0
|
0
|
705
|
|
POST
|
This thread http://forums.arcgis.com/threads/381...te-Full-Extent might help.
... View more
09-13-2012
11:22 PM
|
0
|
0
|
824
|
|
POST
|
AS you assign a new collection of graphics, you can subscribe to rssLayer.PropertyChanged and, in the Handler, test that the changed property is called "Graphics".
... View more
09-13-2012
11:12 PM
|
0
|
0
|
924
|
|
POST
|
This thread http://forums.arcgis.com/threads/38111-Minimal-Map-Template-Full-Extent might help.
... View more
09-13-2012
11:07 PM
|
0
|
0
|
842
|
|
POST
|
I have two feature layers that are optional in the map Not sure how you create these feature layers but for sure a map can manage multiple feature layers with maptips. If you create the feature layers by code on the fly, you can create the maptip at the same time by code.
... View more
09-13-2012
10:51 PM
|
0
|
0
|
1110
|
|
POST
|
then it was possible to fetch templates from the "New Project"...Online... templates....search for Esri, and Install. Seems to work ok so far. You are right. The VisualsStudioGallery templates have been updated to support VisualStudio 2012. So it's a good way to create new projects directly from VisualStudio 2012. [ATTACH=CONFIG]17685[/ATTACH]
... View more
09-13-2012
10:47 PM
|
0
|
0
|
1630
|
|
POST
|
The legend control supports only 2 built-in levels of customizations : MapLayerTemplate and layerTemplate (3 in fact with LegendItemTemplate). To add more customozation levels. there are 2 options: - if you number of levels is fixed, you can retemplate the legend control and replace the default tree view by imbricated listboxes and/or itemcontrols. Each level can be templated independently. As starting point you can look at this sample - if your number of levels is not fixed (i.e in your map service you can have 0, 1 , 2 .. levels of group layers), it's difficult to get rid of the tree view. In this case you can change the Template of the internal level by code (in an handler wired up to event Legend.Refreshed you can set the Template property of the internal level)
... View more
09-10-2012
09:34 AM
|
0
|
0
|
744
|
|
POST
|
We can try to reformat directly in the tooltip. Instead of : <ContentControl Content="{TemplateBinding FormattedDependentValue}" />
Try: <ContentControl Content="{Binding DependentValue, RelativeSource={RelativeSource TemplatedParent}, StringFormat='{}{0:C}'}" />
Note : As 'RelativeBinding' doesn't support the StringFormat option, we have to use the (almost) equivalent Binding form with a templatedparent relativesource.
... View more
09-07-2012
09:13 AM
|
0
|
0
|
3193
|
|
POST
|
What about substracting the startKM to M1 and M2? i.e polyline.M1ToM2(m1-1300, m2-1300);
... View more
09-07-2012
09:03 AM
|
0
|
0
|
1283
|
| 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
|