I'm using the same dataSource for a kendo grid as I am for a layer on my map. In some situations I don't want to show anything from that layer on the map, but I still need to display them on the grid so I can't just clear the dataSource. Is there a way to hide a map layer?
3 Answers, 1 is accepted
0
Accepted
T. Tsonev
Telerik team
answered on 30 Jun 2015, 03:57 PM
Hi,
Individual map layer can be hidden by index. For example: $("#map").data("kendoMap").layers[1].hide();
There's a corresponding show method as well.
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!