Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RadMap - adding markers
<telerik:RadMap ID="RadMap1" runat="server">
<LayersCollection>
<telerik:MapLayer Type="Tile"
Subdomains="a,b,c"
UrlTemplate="http://#= subdomain#.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"
Attribution="&copy; <a href='http://osm.org/copyright' title='OpenStreetMap contributors' target='_blank'>OpenStreetMap contributors</a>.">
</telerik:MapLayer>
</LayersCollection>
<MarkersCollection>
<telerik:MapMarker Shape="PinTarget" Title="Palo Alto">
<TooltipSettings Content="US - Palo Alto, CA"></TooltipSettings>
<LocationSettings Latitude="37.444610" Longitude="-122.163283" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="Boston">
<TooltipSettings Content="US - Boston, MA"></TooltipSettings>
<LocationSettings Latitude="42.375067" Longitude="-71.272233" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="Copenhagen">
<TooltipSettings Content="Denmark - Copenhagen"></TooltipSettings>
<LocationSettings Latitude="55.670312" Longitude="12.538266" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="Sydney">
<TooltipSettings Content="Australia - Sydney"></TooltipSettings>
<LocationSettings Latitude="-33.838707" Longitude="151.207959" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="Austin">
<TooltipSettings Content="US - Austin, TX"></TooltipSettings>
<LocationSettings Latitude="30.268162" Longitude="-97.744873" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="Sofia">
<TooltipSettings Content="Bulgaria - Sofia"></TooltipSettings>
<LocationSettings Latitude="42.650613" Longitude="23.379025" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="Gurgaon">
<TooltipSettings Content="India - Gurgaon"></TooltipSettings>
<LocationSettings Latitude="28.410139" Longitude="77.042439" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="London">
<TooltipSettings Content="UK - London"></TooltipSettings>
<LocationSettings Latitude="51.515986" Longitude="-0.085798" />
</telerik:MapMarker>
<telerik:MapMarker Shape="PinTarget" Title="Munich">
<TooltipSettings Content="Germany - Munich"></TooltipSettings>
<LocationSettings Latitude="48.117227" Longitude="11.601990" />
</telerik:MapMarker>
</MarkersCollection>
</telerik:RadMap>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment