In order to gain better control I have created my own map legend like this:<Grid Name="legendGrid" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="5,15,15,5" >
<Rectangle Fill="LightGray"
RadiusX="10"
RadiusY="10"
Margin="0,10,10,0"
Height="Auto"
Width="250"
Stroke="SaddleBrown"
StrokeThickness="4">
<Rectangle.Effect>
<DropShadowEffect/>
</Rectangle.Effect>
</Rectangle>
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" Margin="20,20,30,0">
<TextBlock Width="200"
TextWrapping="Wrap"
Text="Select the layers you would like to view."
FontWeight="Bold"
HorizontalAlignment="Center" />
<StackPanel Orientation="Horizontal" Margin="0,20,0,0">
<Rectangle Fill="Red" Height="10" Width="10" RadiusX="5" RadiusY="5" Margin="0,0,5,0"/>
<CheckBox Name="AirPlanning_Checkbox" IsChecked="True" Click="AirPlanning_Checkbox_Click">
<TextBlock Text="Tucson Air Planning Area" />
</CheckBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,20,0,0">
<Rectangle Fill="Blue" Height="10" Width="10" RadiusX="5" RadiusY="5" Margin="0,0,5,0"/>
<CheckBox Name="MonitoringSites_Checkbox" IsChecked="True" Click="MonitoringSites_Checkbox_Click">
<TextBlock Text="Pima Department of Environmental Quality (PDEQ) monitors" />
</CheckBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,20,0,0">
<Rectangle Fill="Red" Height="10" Width="10" RadiusX="5" RadiusY="5" Margin="0,0,5,0"/>
<CheckBox Name="TucsonCOMaint_Checkbox" IsChecked="false" Click="TucsonCOMaint_Checkbox_Click">
<TextBlock Text="Tucson CO Maintenance Area" />
</CheckBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,20,0,0">
<Rectangle Fill="Blue" Height="10" Width="10" RadiusX="5" RadiusY="5" Margin="0,0,5,0"/>
<CheckBox Name="RillitoPM10_Checkbox" IsChecked="false" Click="RillitoPM10_Checkbox_Click">
<TextBlock Text="Rillito PM10 NonAttainment Area" />
</CheckBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,20,0,0">
<Rectangle Fill="Magenta" Height="10" Width="10" RadiusX="5" RadiusY="5" Margin="0,0,5,0"/>
<CheckBox Name="AjoPM10_Checkbox" IsChecked="False" Click="AjoPM10_Checkbox_Click">
<TextBlock Text="Ajo PM10 NonAttainment / SO2 Maintenance Area" />
</CheckBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,20,0,0">
<Rectangle Fill="Green" Height="10" Width="10" RadiusX="5" RadiusY="5" Margin="0,0,5,0"/>
<CheckBox Name="Schools_Checkbox" IsChecked="False" Click="Schools_Checkbox_Click">
<TextBlock Text="Schools" />
</CheckBox>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,20,0,0">
<Rectangle Fill="#A80000" Height="10" Width="10" RadiusX="0" RadiusY="0" Margin="0,0,5,0"/>
<CheckBox Name="Hospitals_Checkbox" IsChecked="False" Click="Hospitals_Checkbox_Click">
<TextBlock Text="Hospitals" />
</CheckBox>
</StackPanel>
<TextBlock Text="Please be patient. It may take a minute for the map to load." TextWrapping="Wrap" Margin="10"/>
<!--<TextBox Name="errortext"></TextBox>-->
</StackPanel>
</Grid>
I need now to modify some of the shapes and change them from dots to things like triangles. I can create a marker symbol in the shape of a triangle, but is there a way to place it to replace the rectangles I have shown above? Or, is there another way other than creating an image?Thanks