|
POST
|
Here is an ArcObject snippet for cutting a polygon by a polyline: http://help.arcgis.com/en/sdk/10.0/arcobjects_cpp/componenthelp/index.html#//001v0000001n000000 Then you will have to send geometry back and forth between the server and the Silverlight client application. http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/03/11/Sending-geometry-between-Silverlight-and-the-server-using-WCF.aspx is showing how to use a WCF service to perform that.
... View more
06-16-2010
02:33 AM
|
0
|
0
|
583
|
|
POST
|
The geometry doesn't need to be a polygon. It's working with a point as well. Here is a sample : http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery It looks like you missed to convert the screen coordinates to map coordinates. Add something like: mapPoint = myMap.ScreenToMap(point);
... View more
06-16-2010
02:26 AM
|
0
|
0
|
1667
|
|
POST
|
1) First option : migrate to 2.0 🙂 2) With 1.2, the symbology defined on the server side is not used by the silverlight API (so 'Change the symbology in ArcMap' is no longer an option). You have to define the symbology on the client side. Here is a sample : http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm#FeatureLayerRendering That being said, this doesn't explain why your feature layer is not displayed. Perhaps comparing your code with the sample will give some clue.
... View more
06-16-2010
02:22 AM
|
0
|
0
|
1844
|
|
POST
|
If it's just a display issue, you can try to change the layer visiblity to false and then true. I did that in one of my code (but there is probably a better way:) )
featureLayer.Update();
featureLayer.Visible = false;
featureLayer.Visible = true;
... View more
06-16-2010
02:12 AM
|
0
|
0
|
2071
|
|
POST
|
Just a probably obvious precision : so no easy way to merge 2 layers with different projection? Correct, with 2 tiledMapservice layers. There is no problem with FeatureLayers and DynamicMapServiceLayers since the projection is done on the fly on the server side.
... View more
06-16-2010
02:08 AM
|
0
|
0
|
635
|
|
POST
|
You can't change the order with a dynamic map service layer. You can only make them visible or invisible.
... View more
06-16-2010
02:03 AM
|
0
|
0
|
787
|
|
POST
|
You can either change the symbology in ArcMap (so this symbology will become the default symbology for your published service), or change the symbology on the client side by using the renderer classes of the silverlight API. To change the symbology in ArcMap : - right click on the layer - select 'Properties' - go to 'Symbology' tab - define the symbology you need. To redefine the symbology on the client side, here is a sample http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerRendering
... View more
06-14-2010
06:51 AM
|
0
|
0
|
1844
|
|
POST
|
An ArcGISTiledMapServiceLayer can't be projected. The images are precalculated for a fixed spatial reference and are stored in a cache on the server side. In your case, you could either manage the projection by code on the client side (here is an example : http://sqlspatialtools.codeplex.com/SourceControl/changeset/view/23749#254994), or write your own service on the server side to convert the coordinates.
... View more
06-14-2010
06:39 AM
|
0
|
0
|
635
|
|
POST
|
This doesn't look that easy to implement on the client side. I think it would be easier you to write your own service on the server side to do that task. (I guess you can't use the existing cut geometry Service in 10).
... View more
06-14-2010
06:10 AM
|
0
|
0
|
583
|
|
POST
|
At first it looks like a renderer question. An 'UniqueValueRenderer' which allows to change the symbol depending on the value of a field should be what you are looking for. Also, Upon clicking these units on the map some function should be performed. How do we determine which unit has been clicked? MouseLeftButtonDown event on a feature layer is called with a GraphicMouseButtonEventArgs which is giving the clicked graphic/feature.
... View more
06-14-2010
06:01 AM
|
0
|
0
|
1844
|
|
POST
|
There are MapPoint extension methods called 'WebMercatorToGeographic' and 'GeographicToWebMercator' defined in the static class ESRI.ArcGIS.Client.Bing.Transform.
... View more
06-14-2010
05:53 AM
|
0
|
0
|
374
|
|
POST
|
You should be able to do that by implementing a custom cluster (see sample : http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#CustomClusterer). When you create a cluster graphic in 'OnCreateGraphic', you can add an attribute 'URL' and initialize it with a value coming from one of the initial graphics. Then you can add the needed mouse handler (probably MouseLeftButtonDown) to access to the URL.
... View more
06-11-2010
03:47 AM
|
0
|
0
|
621
|
|
POST
|
Might be an issue with the REST cache. Try cleaning the cache (http://<your server>/ArcGIS/rest/admin/cache/clear)
... View more
06-11-2010
03:38 AM
|
0
|
0
|
1677
|
|
POST
|
If, by chance, you are using Silverlight 4, you could use the new binding StringFormat property. Furthermore with SL4, the dictionary converter is no longer useful, so your code could be simplify to: <TextBlock Text="{Binding [DATE_],StringFormat='dd/MM/yyyy', Mode=OneWay}" FontWeight="Bold" Foreground="Black" /> If you are not using SL4 (and don't want to migrate:)), one option is you to write your own DateDictionary Converter which would return the date with the expected format.
... View more
06-11-2010
03:33 AM
|
0
|
0
|
512
|
| 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
|