This is a migrated thread and some comments may be shown as answers.

issue adding pushpins

1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
jason wilson
Top achievements
Rank 1
jason wilson asked on 21 Jan 2016, 06:06 PM

Can someone please explain why i cant see the pishpin?


<telerik:RadMap x:Name="radMap"
    ZoomBarVisibility="Collapsed" MiniMapExpanderVisibility="Collapsed" MouseLocationIndicatorVisibility="Collapsed" MouseWheelMode="None" Background="White" CommandBarVisibility="Collapsed" ScaleVisibility="Collapsed">
        <telerik:EmptyProvider />
    <telerik:InformationLayer x:Name="informationLayer">
            <telerik:MapShapeReader DataSource="/PCSecurityCheck;component/Resources/world.dbf"
                        ToolTipFormat="{}{CNTRY_NAME} - {SQKM|F2}" />
        <telerik:MapPinPoint telerik:MapLayer.Location="42.6957539183824, 23.3327663758679"
            ImageSource="Images/beacon.png" />

1 Answer, 1 is accepted

Sort by
Martin Ivanov
Telerik team
answered on 26 Jan 2016, 10:26 AM
Hi Jason,

The pin point is not displayed because it is not presented in the visual tree of the map. This is caused by the fact that when the reader populates the layer all previously added items are cleared. In order to alter this behavior you can set the reader's ClearLayer property to False.
<telerik:MapShapeReader  ClearLayer="False" />
In this case the pin point will be positioned behind the shapes from the shape file so you will need to set its Panel.ZIndex property.
<telerik:MapPinPoint Panel.ZIndex="100" />

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
jason wilson
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question