Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Map tooltip template

$
0
0
Hello Adam,

The fields that can be used for the template are the location and marker.  In order to set the location like you've described into the template, use the following:

<script id="Map_Tooltip_Template" type="text/x-kendo-template">
        <p>#=location.lat##=location.lng#</p>
</script>

Here is a Kendo UI Dojo by Progress which illustrates this approach.

You can find more information on the markers.tooltip.template configuration here in our helpful documentation.

Hope this helps!

Regards,
Patrick
Telerik by Progress
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

Viewing all articles
Browse latest Browse all 78072

Trending Articles