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

Does the map widget support custom overlays?

1 Answer 175 Views
Map
This is a migrated thread and some comments may be shown as answers.
Andre
Top achievements
Rank 1
Andre asked on 20 Aug 2014, 09:18 PM
Hi,

It appears that Google maps and Bing maps both support custom overlays, which are layers that allow you to put an image layer or an HTML5 canvas layer on the map. So I was wondering whether kendo UI has support for this built into the mapping tool, I have not seen anything which might suggest that in the documentation.

For our use case, we would like to add a canvas element to the map and draw our own polylines, markers etc. on it. The coordinates of these elements would have to map to the correct latitude/longitude values on the underlying map layer. From what I have read, the google maps API provides methods that can help scale the overlay and to the map in terms of size and the element's locations.

Please advise.

Thanks!

Andre

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 22 Aug 2014, 03:54 PM
Hello,

The Map widget supports overlays in the form of layers.

A dedicated shape layer deals with vector shapes and provides built-in data binding to GeoJSON. It can render as SVG, Canvas or VML depending on browser capabilities.
We intend to make it easier to draw any shapes without going through GeoJSON, but that still requires a bit of work on our side.

Note that Point geometries will be automatically converted to markers. We also provide a dedicated marker layer.

I hope this helps.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Map
Asked by
Andre
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or