|
POST
|
Oh I see, thanks for the clarification. I see what you mean now. I looked further and I know this is by design. Using either EditorWidget "New Selection" button or the Editor Select command with CommandParameter="New" yields to the same result: The first time you make a selection, "SelectionCount" and "SelectedGraphics" property changed are raised once. The next time you make a new selection, "SelectionCount" and "SelectedGraphics" property changed are raised twice. One for deselecting previous selection and the other for making the new selection. If now you use "Add Selection" button instead or CommandParameter="Add", the result is different in that every selection will raise "SelectionCount" and "SelectedGraphics" property changed only once each time. This is the intended behavior.
... View more
11-05-2010
12:26 PM
|
0
|
0
|
1212
|
|
POST
|
Look at how userControl was defined in your XAML namespace. There should be something like this <xmlns:userControl="..."/> That namespace definition must match the namespace in your DropDownMenu XAML and code-behind.
... View more
11-05-2010
12:14 PM
|
0
|
0
|
1363
|
|
POST
|
Have you looked at this documentation? http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map.html You are right that LOD only exposes Resolution but Scale can also be calculated similar to how Map Scale is calculated: Map scale = 1 : (ScreenRes pixels/inch * 39.37 inches/meter * (Map.Resolution * conversionFactorToMeters))
... View more
11-05-2010
12:08 PM
|
0
|
0
|
818
|
|
POST
|
If you are using MapService or if your fields have Editable property to false, then the FeatureDataForm will display all fields as read-only.
... View more
11-05-2010
11:38 AM
|
0
|
0
|
903
|
|
POST
|
You are right that when a selection on Graphics is made, "SelectionCount" and "SelectedGraphics" PropertyChanged are both raised. Can you share your code for selecting and unselecting graphic? If you wish to maintain just a single selection at one time, I suspect that you deselect the previous graphic before you select the next graphic. Is that right?
... View more
11-05-2010
11:34 AM
|
0
|
0
|
1212
|
|
POST
|
Thank you for your post. We were able to reproduce the issue and have identified the cause. We will try to get the fix in for the future release.
... View more
11-05-2010
11:07 AM
|
0
|
0
|
1907
|
|
POST
|
Can you run Fiddler to see what date parameter it sends to the service? Kindly check post #14 on this thread http://forums.arcgis.com/threads/14730-Area-And-Perimeter. It should be similar approach in that when you run your SL app, grab the parameters from Fiddler. We will also check our end if we are doing something to the Date values.
... View more
11-04-2010
11:16 PM
|
0
|
0
|
1907
|
|
POST
|
So you do not see the map pan to the selected point? Try out this example and see if it behaves the same: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataGrid Either check the Auto Zoom to Selected under Options before making a selection or make a selection and choose Zoom to Selection. If it is a single selection of point geometry, it will perform a pan where the selected graphic is the center.
... View more
11-04-2010
11:08 PM
|
0
|
0
|
1359
|
|
POST
|
I believe the install already takes care of updating the assemblies and the registry entries. What you can do to check if this has been updated by the install - is to look at the Properties Window on the referenced Toolkit assembly. Go to that path and check file properties if the version changed. If the path says "Users" then it may not have grabbed from the proper location. Try deleting these references and re-add them again.
... View more
11-04-2010
11:00 PM
|
0
|
0
|
2154
|
|
POST
|
The MapService need not match the Map's SpatialReference. In the SDK sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify, the base layer where map inherits its SpatialReference from belong to 4326 and the MapService belong to 4269. Here's a link to IdentifyParameters documentation: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.IdentifyParameters.html Have you tried reproducing the issue outside the SL app? Did you find any difference in the web browser result? Were the parameters correct?
... View more
11-04-2010
10:55 PM
|
0
|
0
|
1413
|
|
POST
|
What version of the API are you using? Can you share your code where you create the Map and layers? The ID of the FeatureLayer is also "WCR"? Do you apply any style to your EditorWidget? Are you doing other customizations? When Freehand is checked, it should be reflected when you draw the polygon. I cannot replicate the issue using this sample in our SDK: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget
... View more
11-04-2010
10:43 PM
|
0
|
0
|
882
|
|
POST
|
If you will be using your own FeatureDataForm instance, then you can set ShowAttributesOnAdd to false. Subscribe to the TemplatePicker's Editor's EditCompleted event where EditAction is Add. The EditEventArgs contain the graphic and layer, which you can use to set FeatureDataForm's FeatureLayer and GraphicSource properties. To retrieve this Editor, you can get the default style for the EditorWidget using ExpressionBlend and do a FindName() on the template to get the TemplatePicker, get its DataContext as Editor.
... View more
11-04-2010
10:35 PM
|
0
|
0
|
1210
|
|
POST
|
In your XAML, do you set FeatureDataGrid's Map and GraphicsLayer property? If you already have these two properties set by binding, you do not need code sections 1 & 2. Since in your QueryTask_ExecuteCompleted event handler, you already add the features to your GraphicsLayer. Since your Query's OutFields have values, I do not see why the FeatureDataGrid appears blank, you must've missed to set Map="{Binding ElementName=MyMap}" where MyMap is the name of your map.
... View more
11-04-2010
10:28 PM
|
0
|
0
|
1815
|
|
POST
|
To test if IdentifyTask failed in your SL application or if empty IdentifyResults was expected, you can use Fidder to see what parameters SL app formed and use the same parameters in your web browser. If the result that you get from the web browser is not identical to the result you get from your application, we may have a problem. To do this, you can look at this thread, post #14 http://forums.arcgis.com/threads/14730-Area-And-Perimeter.
... View more
11-04-2010
01:29 PM
|
0
|
0
|
1413
|
|
POST
|
I find the following documentation useful: ArcGIS Server v10 http://help.arcgis.com/EN/arcgisserver/10.0/apis/rest/geometryserver.html ArcGIS Server v9.31 http://resources.esri.com/help/9.3/arcgisserver/apis/rest/geometryserver.html
... View more
11-04-2010
01:19 PM
|
0
|
0
|
1212
|
| 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
|