In an application, everything works fine except for the PictureMarkerSymbol defined, which does not display on the map. My code is below:
<Grid Name="LayoutRoot" Background="Transparent">
<Grid.Resources>
<esri:PictureMarkerSymbol x:Key="DefaultMarkerSymbol"
OffsetX="0" OffsetY="31" Source="/UserControls/Images/i_pushpin.png" />
</Grid.Resources>
I tried either Source="/UserControls/Images/i_pushpin.png" or Source="UserControls/Images/i_pushpin.png" but none of them works. The folder /UserControls/ is under the project. Is anything incorrect in the path?