|
POST
|
MapTip is a property in GraphicsLayer (http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.GraphicsLayer~MapTip.html). This is why you either see MapTip set on GraphicsLayer or FeatureLayer (inherits from GraphicsLayer http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer.html). What you can do is perform QueryTask on the sub layers and use a GraphicsLayer with MapTip to hold the results (as J suggested). To avoid the features from being added to your map twice, you can set ArcGISDynamicLayers.VisibleLayers property to exclude the sub layer that you already display in the GraphicsLayer. ReturnGeometry is by default false, which is why you need to set this to true if Geometry need to be retrieved. http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~ReturnGeometry.html
... View more
01-18-2011
06:55 PM
|
0
|
0
|
776
|
|
POST
|
As far as I know, the GPService only expose two operations Submit Job and Execute Task as described here http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/gpserver.html I have not seen Progress reported for a GPService. I think that your question may be best answered by the server team in this forum http://forums.arcgis.com/forums/11-ArcGIS-Server-REST-API.
... View more
01-18-2011
08:05 AM
|
0
|
0
|
465
|
|
POST
|
You might be missing the images in your project, which means Source property in the ToolbarItem Image is not resolved. <Image Source="/Assets/images/i_zoomin.png" Stretch="UniformToFill" Margin="5" /> You can download the SDK sample that contains these images http://help.arcgis.com/en/webapi/silverlight/help/index.html#/Sample_Interactive_SDK/01660000000v000000/. Or you can add other images to your project and update the Source property to point to those images. Or replace the whole ToolbarItem.Content from Image to some other control that does not require image. For example <Button Content="Zoom In" Margin="5" />
... View more
01-18-2011
07:50 AM
|
0
|
0
|
2110
|
|
POST
|
Kindly look at this related thread: http://forums.arcgis.com/threads/6553-Adding-Tiled-Map-services-of-different-spatial-reference (Specifically, Post #3). It's hard to tell which part of your code fails. Is collLayers the LayerCollection of first map? Or will the line above it (Map.Layers.Clear()) modify the same collection? If they are the same collection then, collLayers["BaseLayer"] will be null. Has lyr been Initialized? If not, TileInfo may be null. At any case, you cannot mix tiled layers of different spatial reference together as had been said in that forum.
... View more
01-18-2011
07:40 AM
|
0
|
0
|
2421
|
|
POST
|
The QueryTask also has DisableClientCaching property that you can set to True. http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.TaskBase~DisableClientCaching.html. I suspect that you only set this property on the FeatureLayer, at which case, you should expect the attribute value change reflected in the UpdateCompleted event handler after invoking FeatureLayer.Update() at the end of your code for editing attributes.http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer~Update.html. When you check the graphic attribute again in the UpdateCompleted eventhandler. Calling Update() on FeatureLayer or performing your own QueryTask will both verify that the attribute change had been applied to the server, since both will perform query against the server.
... View more
01-18-2011
07:27 AM
|
0
|
0
|
1679
|
|
POST
|
You just need to add reference to this .NET assembly "System.Runtime.Serialization" as the error suggests. This is related thread http://forums.arcgis.com/threads/2300-System.Runtime.Serialization-Version
... View more
01-17-2011
08:54 PM
|
0
|
0
|
2110
|
|
POST
|
You might want to try what Dan suggested. But if you want to troubleshoot your existing application. I know that FeatureDataForm also uses a .NET Assembly System.Windows.Controls.Data.Input. Try adding a reference to this in your project and see if that works.
... View more
01-17-2011
08:44 PM
|
0
|
0
|
734
|
|
POST
|
I'm not sure I understand the question. Are you using our API and current code does not work after upgrading to ArcGIS Server 10? Which version of the Silverlight/WPF API are you using? It's hard to tell whether the issue is with upgrading the server. Maybe you can try to use Fiddler or make the request outside the API through the web browser. Kindly look at post #14 in this thread http://forums.arcgis.com/threads/14730-Area-And-Perimeter
... View more
01-17-2011
08:39 PM
|
0
|
0
|
596
|
|
POST
|
To edit attributes on your FeatureLayer, you might want to consider using FeatureDataForm or FeatureDataGrid. Here's FeatureDataForm example http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataForm, you can look at other samples in "Editing" section. From your first post, I think that when it finds no features in your layer, the layer may not have finished initializing and updating. If you do your code inside UpdateCompleted event, I'm sure it will find the 5th graphic. http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer~UpdateCompleted_EV.html
... View more
01-17-2011
08:22 PM
|
0
|
0
|
1679
|
|
POST
|
You can read this blog to troubleshoot your application: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx This might help you get started too: http://help.arcgis.com/en/webapi/silverlight/help/index.html#/Getting_Started/016600000004000000/
... View more
01-17-2011
08:05 PM
|
0
|
0
|
1189
|
|
POST
|
No problem. I am also puzzled why your MeasureAction does not respond to touch events when you say that all code is reached. I also read your post about the Slider but I have not had the chance to replicate it yet. It could be because of some tolerance issue? Maybe you need to increase the size of the slider to accommodate touch gesture.
... View more
01-17-2011
07:58 PM
|
0
|
0
|
1848
|
|
POST
|
ArcGIS Server 9.3 and up is supported by SL/WPF API v2.1. From what I know, there is no particular reason why the samples still use older map services. But I do know that the primary purpose of these samples is to demonstrate the API. The samples usually get updated to show any breaking changes or new features in the API. Thank you for your feedback. I'll forward your request to get the samples updated.
... View more
01-17-2011
07:54 PM
|
0
|
0
|
1199
|
|
POST
|
This number dictates how many features will be held in the cache as documented here. http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer~OnDemandCacheSize.html OnDemandCacheSize set to 0 is the same as setting DisableClientCaching to True. In both cases, no features are kept in the cache. The behavior you see in the SDK sample is normal for OnDemandCacheSize=0. However, there was a bug related to this property prior to v2.1 where OnDemandCacheSize=0 results to the records being duplicated but this had been fixed before v2.1 final.
... View more
01-17-2011
07:25 PM
|
0
|
0
|
490
|
|
POST
|
Did you download from http://help.arcgis.com/en/webapi/silverlight/gallery.html? Search for "Pie Chart Symbols"
... View more
01-17-2011
07:17 PM
|
0
|
0
|
689
|
|
POST
|
This is related thread http://forums.arcgis.com/threads/17952-How-to-reflect-changes-in-Feature-service-immediately.
... View more
01-17-2011
07:10 PM
|
0
|
0
|
1512
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 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
|