|
POST
|
Peculiar fact is the line ahead of this faulty one is: GraphicsLayer graphicsLayer = MyTestMap.Layers[0] as GraphicsLayer; Is your first layer a GraphicsLayer? (In most cases it's a dynamic or tiled service used as a base layer) Remember that "as GraphicsLayer" evaluates to null if it can't do the casting to that type.
... View more
05-21-2010
07:53 AM
|
0
|
0
|
795
|
|
POST
|
From what I can tell, it looks right. Are you absolutely sure the attribute actually gets updated through your bindings? Also be wary of having AutoUpdate set to true here. Note that everytime you change the attribute, a save is pushed back to the server. It could quickly get quite chatty.
... View more
05-21-2010
07:49 AM
|
0
|
0
|
1991
|
|
POST
|
Do you have your clientaccesspolicy.xml in place on your server?
... View more
05-21-2010
07:45 AM
|
0
|
0
|
1950
|
|
POST
|
I'm actually not entirely sure how the server end works, but I know there are certain gotchas for correctly configuring a service to be writable. If you look at the rest endpoint for the layer, do you see any links to edit at the bottom of the HTML page?
... View more
05-21-2010
07:44 AM
|
0
|
0
|
629
|
|
POST
|
The browser doesn't allow to perform more thant two requests simultanously to one single domain. This is per the RFC specification (Some browsers do it anyway though). However, if you are all about performance, having to perform 20 queries to complete a task, is probably where you should stop and rethink what you are doing. If it's because you need to do a drilldown through all the layers in one service, you should probably take a look at the IdentifyTask instead.
... View more
05-20-2010
06:04 PM
|
0
|
0
|
664
|
|
POST
|
Is this a feature or a bug? It's a limitation 🙂 Is there any plan to change this? Currently no.
... View more
05-20-2010
12:25 PM
|
0
|
0
|
643
|
|
POST
|
You can use the Simplify method in the ArcGIS v10 geometry service: http://help.arcgis.com/en/webapi/silverlight/apiref/topic1572.html
... View more
05-20-2010
12:24 PM
|
0
|
0
|
623
|
|
POST
|
The ReadOnly property will only flip to true if the service successfully initializes. Take a look at this blogpost: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx It might give you some hints as to why your service is not initializing. Also it would help if you would share the InitialzationFailure exception.
... View more
05-20-2010
12:21 PM
|
0
|
0
|
629
|
|
POST
|
It's the units of the spatial reference of the geometry you pass in. ArcGIS Server v10 + ArcGIS Silverlight v2.0 allows you to also specify a unit of measure.
... View more
05-20-2010
09:18 AM
|
0
|
0
|
357
|
|
POST
|
This is a known limitation. ElementLayer requires a basemap to work.
... View more
05-20-2010
09:15 AM
|
0
|
0
|
643
|
|
POST
|
You can get the individual points by iterating the pointcollections in the Rings property. foreach(PointCollection pnts in myPolygon.Rings) { foreach(MapPoint p in pnts) { ... } }
... View more
05-20-2010
07:58 AM
|
0
|
0
|
623
|
|
POST
|
If you are using the FeatureDataGrid, do not use the ItemsSource. Instead set the GraphicsLayer property to a GraphicsLayer that holds your results. The other approach is to use Silverlight's core DataGrid, like shown here: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryWithoutMap Judging from your sample above, your binding expression doesn't look right. Compare to the xaml in the above link.
... View more
05-20-2010
07:53 AM
|
0
|
0
|
503
|
|
POST
|
Let me emphazise what I wrote earlier: "If you have the editor defined in the resources WPF doesn't support ElementBinding" ElementBinding works great from controls in the UI tree, like your listbox above, but it is not supported in WPF from objects inside the resources property.
... View more
05-19-2010
04:19 PM
|
0
|
0
|
856
|
|
POST
|
I suggest you contact Microsoft Bing and ask them. I don't know their licensing well enough. Their contact information is at the front page for their portal. But you are correct that you shouldn't be using Staging anymore.
... View more
05-19-2010
12:12 PM
|
0
|
0
|
1045
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | a week ago | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|