Hi,
I am having a problem where when I tried to edit a custom symbol the symbol disapears while in EditVertices. It's a FillSymbol with a png image and I need the ability to move and resize it on the map dynamicly.
It loads fine on the map, but when I try to edit, it disapears (the only item on the screen is the dashed rectagle) and reappears after the edit exits. Weird...
I am using .NET 4.0 WPF and Beta 2.2 SDK
Anyone know about this ? Is there a work around ? Am I doing it wrong ?
Your help is greatly appriciated. Thanks.
Here is the XAML:
<esri:Graphic.Symbol>
<symbols:FillSymbol>
<symbols:FillSymbol.ControlTemplate>
<ControlTemplate >
<Path x:Name="Element" >
<Path.Fill>
<ImageBrush ImageSource="{Binding Attributes[image]}" >
<ImageBrush.RelativeTransform>
<TransformGroup>
<RotateTransform Angle="{Binding Attributes[rotate]}" CenterX=".5" CenterY=".5"/>
</TransformGroup>
</ImageBrush.RelativeTransform>
</ImageBrush>
</Path.Fill>
</Path>
</ControlTemplate>
</symbols:FillSymbol.ControlTemplate>
</symbols:FillSymbol>
</esri:Graphic.Symbol>