Map tooltip template

2 posts, 0 answers
  1. Adam
    Adam avatar
    9 posts
    Member since:
    Jun 2016

    Posted 09 Sep 2016 Link to this post

    I've got the tooltip showing on click, but I cannot access any of the variables from my datasource read method in the template. I either get undefined, or errors when trying different combinations with the template. 


    <script id="Map_Tooltip_Template" type="text/x-kendo-template">

  2. Patrick
    Patrick avatar
    204 posts

    Posted 12 Sep 2016 Link to this post

    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">

    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!

    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
Back to Top