Kendo UI Map with areas

Posted by Famke Bergmans on 07-Feb-2017 04:15

A while ago, I made a map in Kendo UI. It works fine, but now I want to add another functionality and I have no idea where to start.

The map has markers, pointing out where a bunch of shops reside. Each shop has a number of postcodes that make up an area around the marker. For each shop, I want to (1) define what the area is and (2) visualise this in the Kendo Map.

Does anyone know how I can do this? I've already got an object, which contains an array for each shop, which contains the postcodes.

Thanks in advance,

Famke

All Replies

Posted by Thierry Ciot on 08-Feb-2017 11:13

You need to provide a marker data source.

Something like this:

markers: [{

           location: [30.268107, -97.744821],

           shape: "customMarker",

           tooltip: {

             content: "Austin, TX"

           }

         }]

Please check docs.telerik.com/.../custom-markers and demos.telerik.com/.../remote-markers as starting points.

Thierry.

This thread is closed