|
POST
|
If you have the editor defined in the resources, note that WPF (as opposed to Silverlight) doesn't support ElementBinding, so you will have to set the Map property in codebehind.
... View more
05-19-2010
11:53 AM
|
0
|
0
|
850
|
|
POST
|
Just confirming... your binding expression is as shown above right? You are not using the dictionaryconverter ? (it will not work with DictionaryConverter). Could you share the entire xaml of the symbol template you are using? (preferably simplified if it's really complex)
... View more
05-19-2010
11:49 AM
|
0
|
0
|
1971
|
|
POST
|
MapIt only serves out raw vector data, and not base data. So yes ArcGIS Server would be a great option for basemaps instead of Bing Maps (in fact that's what the API was designed for in the first place). You can even create your own layer types (see the codegallery for samples) so you can use any type of mapservice that can serve out map images via HTTP. For instance OpenStreetMap, WMS, etc.
... View more
05-19-2010
11:46 AM
|
0
|
0
|
761
|
|
POST
|
Oh, another thing... putting a break point in the "set" for the property... it never even hits it! When binding a DependencyProperty will never hit the setter. That's why you have the OnMyPropertyChanged handler. In other words your setter should never have anything but the SetValue(MyProperty, value) in it, and for that very reason any logic you need to execute in a setter should happen in the changed handler. Are you sure your binding expression is correct and supported? (note that there are limitations as to when and what you can bind to and from - especially when it comes to ElementBinding)
... View more
05-19-2010
11:38 AM
|
0
|
0
|
5582
|
|
POST
|
The Editing class in v2.0 fully supports selection on GraphicsLayer, as long as the selectionmode is point or rectangle. Only if you need to select by polyline or polygon does it have to be a FeatureLayer. Links: http://help.arcgis.com/en/webapi/silverlight/apiref/topic238.html http://help.arcgis.com/en/webapi/silverlight/apiref/topic214.html http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave You could also go more low-level and use the FindGraphicsInHostCoordinates method which is also supported in v1.2: http://help.arcgis.com/en/webapi/silverlight/apiref/topic487.html
... View more
05-19-2010
10:38 AM
|
0
|
0
|
1039
|
|
POST
|
THere is only point-by-point support in the SL api. Look at the ESRI.ArcGIS.Client.Bing.Transform.* methods.
... View more
05-19-2010
10:34 AM
|
0
|
0
|
496
|
|
POST
|
This event is fired whenever the fullscreen state is toggled: Application.Current.Host.Content.FullScreenChanged
... View more
05-18-2010
03:07 PM
|
0
|
0
|
831
|
|
POST
|
You need to follow the guidelines for naming and defining dependency properties. The name and accessibility is important. Change: protected static readonly DependencyProperty dependencyPropertyMap ... to (important changes highlighted): public static readonly DependencyProperty MapProperty ... In other words, the DP must be public and must share the name with the property postfixed with "Property". If it isn't, the binding will not be able to find or access the DP.
... View more
05-18-2010
08:18 AM
|
0
|
0
|
5582
|
|
POST
|
As the message suggests, ask the dataprovider from where you got the data what the spatial reference of the data is. There's not really a good way to know if you don't have the metadata information.
... View more
05-18-2010
08:15 AM
|
0
|
0
|
761
|
|
POST
|
Instead of using a point for querying, create a small envelope around the point. Ie. this create a box 2x2 pixels around the click-point: new Envelope(p.X - map.Resolution, p.Y - map.Resolution,p.X + map.Resolution, p.Y + map.Resolution) and use this to query for your points.
... View more
05-18-2010
08:13 AM
|
0
|
0
|
761
|
|
POST
|
The output folder is not used for the dynamic map service. Instead the data is returned directly in the exportmap REST request.
... View more
05-18-2010
08:11 AM
|
0
|
0
|
521
|
|
POST
|
If you go to the rest endpoint and execute the same query from the HTML page, do you get geometry back?
... View more
05-18-2010
08:10 AM
|
0
|
0
|
543
|
|
POST
|
The staging servers has been deprecated by Microsoft, including their token service. The good news is that it has gotten a lot simpler now. Instead, go to www.bingmapsportal.com sign up, log in and generate a token/app id. This token doesn't expire. Now all you need to do is set the token property on the layer: <bing:TileLayer Token="[your token goes here]" /> You do not need to do anything on the server to generate a token. Also note that staging server is not supported with these new tokens
... View more
05-18-2010
08:08 AM
|
0
|
0
|
1083
|
| 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
|