AnsweredAssumed Answered

Animated Line symbols

Question asked by srxicey on Jan 15, 2015
Latest reply on Jan 16, 2015 by srxicey

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.


            <esriSymbols:LineSymbol x:Name="TestLineSymbol">
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal">
                                        <Storyboard RepeatBehavior="Forever">
                                            <DoubleAnimation BeginTime="0:0:0" Storyboard.TargetName="Element"
                                                             To="1000" Duration="0:0:0"/>
                            <Path x:Name="Element" Stroke="{Binding Symbol.Color}" StrokeThickness="{Binding Symbol.Width}" StrokeEndLineCap="Round" StrokeStartLineCap="Round"/>

Does anyone have any suggestions on how to implement similar functionality now?