|
POST
|
I don't see any issue with the attached screenshot of legend control. If you look at the SDK sample, "United States" legend looks similar, this is also an ArcGISDynamicMapServiceLayer.
... View more
02-23-2011
09:03 AM
|
0
|
0
|
2066
|
|
POST
|
You can look at the following SDK sample if you need to change the DataTemplate of your Legend control: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#LegendWithTemplates
... View more
02-23-2011
08:51 AM
|
0
|
0
|
1077
|
|
POST
|
I cannot reproduce the issue using this sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MapProgressBar. When you double click to zoom, you will find that the ProgressBar have intermediate progress that occurs between 0 and 100. What types of layers does your map have? You can also subscribe to Map.Progress event and see that this is raised more than once as the layers report their progress.
... View more
02-23-2011
08:49 AM
|
0
|
0
|
1618
|
|
POST
|
I cannot replicate the issue when using the Editing samples:http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSave. EditCompleted is fired once after Select command is completed, EditEventArgs.Action = Editor.EditAction.Select. In your code, do you call Cancel command? Maybe you have something like this in your code?
if (editor.CancelActive.CanExecute(null))
editor.CancelActive.Execute(null);
This is similar to clicking "CancelAction" button in the above sample link and will result to e.Action == EditAction.Cancel. CancelActive may also be triggered when, you activate another Command. For example when you click "New Selection" button and then click "Add to Selection" button. The previous command will be cancelled and as a result will fire EditCompleted with e.Action == EditAction.Cancel.
... View more
02-23-2011
08:34 AM
|
0
|
0
|
1969
|
|
POST
|
This is expected behavior. You can reproduce the same trace of web requests when using your web browser, if you set up Internet Options this way: Internet Options > Security > Local Intranet > Custom level... > User Authentication > Prompt for user name and password. Internet Options > Advanced > Security > uncheck Enable Integrated Windows Authentication. A 401 response from the service is neccesary. Without this, Credentials eventhough it is supplied in the request, will be ignored. You will find that if you restore your Internet Options settings (when Automatic logon is used), Fiddler will still show that 401 response from the server is received. http://msdn.microsoft.com/en-us/library/aa383144(v=vs.85).aspx
... View more
02-23-2011
08:24 AM
|
0
|
0
|
892
|
|
POST
|
Thank you for your feedback. I will forward it to our dev lead for consideration in future versions of our API.
... View more
02-23-2011
08:10 AM
|
0
|
0
|
595
|
|
POST
|
I checked with Morten and he explained that you are using the wrong Dispatcher. You will need to get to the root visual, and use its Dispatcher. You can try using Application.Current.MainWindow.Dispatcher.
... View more
02-23-2011
08:04 AM
|
0
|
0
|
1490
|
|
POST
|
You can download WPF Interactive SDK from http://help.arcgis.com/en/webapi/silverlight/help/index.html#/Sample_Interactive_SDK/01660000000v000000/ You will notice that SL and WPF are not very much alike with their Storyboard, specifically how they define their TargetProperty.
<esri:MarkerSymbol x:Key="StrobeMarkerSymbol">
<esri:MarkerSymbol.ControlTemplate>
<ControlTemplate>
<Canvas>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="MouseOver">
<Storyboard RepeatBehavior="Forever">
<DoubleAnimation BeginTime="0" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="RenderTransform.(ScaleTransform.ScaleX)" From="1" To="10" Duration="00:00:01" />
<DoubleAnimation BeginTime="0" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="RenderTransform.(ScaleTransform.ScaleY)" From="1" To="10" Duration="00:00:01" />
<DoubleAnimation BeginTime="0" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)" From="1" To="0" Duration="00:00:01" />
</Storyboard>
</VisualState>
<!--If normal state is not specified, the animation will keep going until a mouse out. Keep it empty to transition back to original symbol. -->
<VisualState x:Name="Normal" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<!--Strobe ellipse-->
<!--Note that IsHitTestVisible="False" on the strobe symbol, so only the static ellipse will trigger mouse over/mouse out-->
<Ellipse Height="10" Width="10" Canvas.Left="-5" Canvas.Top="-5" RenderTransformOrigin="0.5,0.5" x:Name="ellipse" IsHitTestVisible="False">
<Ellipse.RenderTransform>
<ScaleTransform />
</Ellipse.RenderTransform>
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop Color="#00FF0000" />
<GradientStop Color="#FFFF0000" Offset="0.25"/>
<GradientStop Color="#00FF0000" Offset="0.5"/>
<GradientStop Color="#FFFF0000" Offset="0.75"/>
<GradientStop Color="#00FF0000" Offset="1"/>
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
<!--Static symbol on top-->
<Ellipse Height="10" Width="10" Canvas.Left="-5" Canvas.Top="-5" Fill="#FFFF0000" x:Name="ellipse1"/>
</Canvas>
</ControlTemplate>
</esri:MarkerSymbol.ControlTemplate>
</esri:MarkerSymbol>
... View more
02-23-2011
07:56 AM
|
0
|
0
|
2253
|
|
POST
|
You can inspect the IdentifyEventArgs.IdentifyResults, it should return you the following values: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.IdentifyResult_members.html. This will help you identify the sub layer URL based on the LayerId. It also includes the field that has been matched with value to get the identified feature.
... View more
02-23-2011
07:46 AM
|
0
|
0
|
478
|
|
POST
|
Did you follow the steps in Troubleshooting blank layers? The failure happened when retrieving client access policy. Please use the links from post#'s 5 and 3.
... View more
02-23-2011
07:32 AM
|
0
|
0
|
4005
|
|
POST
|
I can only say it is due soon without a tentative date of release because it goes from one department to another, but it will be in Beta state.
... View more
02-23-2011
06:15 AM
|
0
|
0
|
1275
|
|
POST
|
I believe that Ali is saying use FeatureLayer to assign to FeatureDataGrid.GraphicsLayer property if you want to preserve field information, instead of performing a QueryTask and then putting results to a GraphicsLayer. You can still perform queries using FeatureLayer by updating Where clause. You are correct that GraphicsLayer does not change the Attribute values but it also does not know how DateTime fields should be displayed, they are treated like System.DateTime objects which includes time information.
... View more
02-23-2011
06:03 AM
|
0
|
0
|
4117
|
|
POST
|
If you are using Draw class as in the sample, while Draw.IsEnabled=true you will not be able to navigate the map through pan or zoom. If you are not using Draw and would like to disable zoom from double click, you can mark MouseLeftButtonDown event as e.Handled=true. This should prevent both pan and zoom.
... View more
02-23-2011
05:52 AM
|
0
|
0
|
1216
|
|
POST
|
I believe this is only possible if you can set IsTabStop and TabIndex properties. These are properties of Control http://msdn.microsoft.com/en-us/library/system.windows.controls.control.tabindex(v=vs.95).aspx. Therefore Button and TextBox can have these properties while Image does not.
... View more
02-22-2011
04:36 PM
|
0
|
0
|
1597
|
|
POST
|
You can probably use Intersect() see this sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Intersect The MouseClick will get you the feature you will use to find if it intersects other features. You can then use the result of this intersection as you wish for your Identify.
... View more
02-22-2011
04:27 PM
|
0
|
0
|
1572
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-10-2026 12:13 PM | |
| 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 |
07-13-2026
09:07 AM
|