Does the map widget support custom overlays?

2 posts, 0 answers
  1. Andre
    Andre avatar
    14 posts
    Member since:
    Jun 2014

    Posted 20 Aug 2014 Link to this post


    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.


  2. T. Tsonev
    T. Tsonev avatar
    2760 posts

    Posted 22 Aug 2014 Link to this post


    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.

    T. Tsonev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top