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
answered on 30 Jun 2015, 03:57 PM
Individual map layer can be hidden by index. For example: $("#map").data("kendoMap").layers.hide();
There's a corresponding show method as well.
I hope this helps.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!