Previously I have been able to define control templates for line symbols in the xaml to animate lines. The below for example provided a moving dashed line to indicate a direction of the line with an animated graphic rather than a simple arrow marker symbol.
<Grid.Resources> <esriSymbols:LineSymbol x:Name="TestLineSymbol"> <esriSymbols:LineSymbol.ControlTemplate> <ControlTemplate> <Grid> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> <VisualState x:Name="Normal"> <Storyboard RepeatBehavior="Forever"> <DoubleAnimation BeginTime="0:0:0" Storyboard.TargetName="Element" Storyboard.TargetProperty="StrokeDashOffset" To="1000" Duration="0:0:0"/> </Storyboard> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <Path x:Name="Element" Stroke="{Binding Symbol.Color}" StrokeThickness="{Binding Symbol.Width}" StrokeEndLineCap="Round" StrokeStartLineCap="Round"/> </Grid> </ControlTemplate> </esriSymbols:LineSymbol.ControlTemplate> </esriSymbols:LineSymbol> </Grid.Resources>
Does anyone have any suggestions on how to implement similar functionality now?
Solved! Go to Solution.
Animated symbols are currently not supported by the ArcGIS Runtimes.
Animated symbols are currently not supported by the ArcGIS Runtimes.
Hi Morten,
Thanks for the answer! Can you tell me if there any plans to support animated symbols in a future release?
Kind Regards,
Kris Foster
It's definitely on the list, but we don't have any specific plans to announce at this time.
Understandable, thanks!