This project has moved and is read-only. For the latest updates, please go here.

is it allowed to change the pushpin style ?

Nov 10, 2015 at 4:40 AM
Edited Nov 10, 2015 at 4:43 AM
In the themes/Generic.xaml, what is the meaning of
 Data="M 0,-0.5 L 0,16 16,-0.5"
  <Path Grid.Row="1" Fill="{TemplateBinding Background}" Data="M 0,-0.5 L 0,16 16,-0.5"/>
How to set up the token values so that I can customize the pushpin style ?

and it is possible to replace a "Rectangle" pushpin with a "circle" pushpin ?

If yes, how to make the circle center located on the location with given latitude and longitude ?

Nov 10, 2015 at 7:51 AM
Edited Nov 10, 2015 at 8:13 AM
Your Pushpin Style could be as simple as this:
<Style TargetType="map:Pushpin">
    <Setter Property="Template">
            <ControlTemplate TargetType="map:Pushpin">
                    <Path Stroke="{TemplateBinding Foreground}"
                          Fill="{TemplateBinding Background}">
                            <EllipseGeometry RadiusX="{Binding Radius}"
                                             RadiusY="{Binding Radius}"/>
However, I'd strongly suggest that you make yourself familiar with the basics of WPF. You won't get far without some basic knowledge. This is certainly not the right place to ask what the Data property of a WPF Path element is.
Marked as answer by ClemensF on 11/13/2015 at 10:35 AM