This is a migrated thread and some comments may be shown as answers.
Delete Marker
1 Answer 55 Views
Map
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 04 Dec 2013, 04:36 PM
Is there a way to clear all markers from a map or delete a single marker?

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 06 Dec 2013, 12:26 PM
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!
Tags
Map
Asked by
Steven
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or