Delete Marker

2 posts, 0 answers
  1. Steven
    Steven avatar
    8 posts
    Member since:
    Mar 2009

    Posted 04 Dec 2013 Link to this post

    Is there a way to clear all markers from a map or delete a single marker?

  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 06 Dec 2013 Link to this post

    Hello Steven,

    In order to achieve this you could use markers clear method. For example: 
    //get reference to the Map widget
    var map = $('#map').data("kendoMap")
    //clear markers
    map.markers.clear();

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top