Point Graphics Symbology Animation

3628
1
08-06-2013 10:02 AM
YurongTan
Occasional Contributor
Hello, I am wondering if there is some info out there that can explain how to animate marker symbols using storyboard?  I got an example from this site for polygons (see below), but it is kind of working in the dark for markers.  I would appreciate any pointers.  Thanks in advance.

EXAMPLE FROM THIS SITE FOR POLYGON GRAPHICS LAYER
<esri:FillSymbol x:Key="ResultsFillSymbol">
    <esri:FillSymbol.ControlTemplate>
        <ControlTemplate x:Name="CustomPolygonTemplate">
            <Grid>
                <VisualStateManager.VisualStateGroups>
                    <VisualStateGroup x:Name="CommonStates">
                         <VisualState x:Name="MouseOver">
                            <Storyboard>
                                <ColorAnimation Storyboard.TargetName="Element"
                                    Storyboard.TargetProperty="(Fill).(Color)"
                                    To="#8800FFFF" Duration="0:0:0.1" />
                            </Storyboard>
                        </VisualState>
                        .....

But for a marker layer, I am lost:

<!-- FOR POINT GRAPHICS LAYER -->     
<esri:MarkerSymbol x:Key="myFocusPointCustomMarker">
   <esri:MarkerSymbol.ControlTemplate>
         <ControlTemplate x:Name="myCustomMarkerTemplate">
    <Grid>
         <VisualStateManager.VisualStateGroups>
               <VisualState x:Name="Selected">
        <Storyboard>
             <PointAnimation Storyboard.TargetName="Element"
      Storyboard.TargetProperty="?????" ???? />
                     </Storyboard>
     </VisualState>
                ...
         </VisualStateManager.VisualStateGroups>
    </Grid>
        </ControlTemplate>
   </esri:MarkerSymbol.ControlTemplate>
</esri:MarkerSymbol>
0 Kudos
1 Reply
PietaSwanepoel2
Occasional Contributor
Have a look at the example
http://resources.arcgis.com/en/help/silverlight-api/samples/SymbolGalleryWeb/start.htm

Alternatively, you will need to reference the properties of the marker symbol
http://resources.arcgis.com/en/help/silverlight-api/apiref/api_start.htm

search for: ESRI.ArcGIS.Client.Symbols Namespace : Symbol Class
0 Kudos