Category : yandex

I can’t disable the kml layer by clicking the checkbox. The fact is that it puts one layer on top of another. Here’s an example http://euroasia-vip.de/ru/test/ I attach the js code below kmlButton = $(‘.load-kml’), kmlButton3g = $(‘.load-kml-3g’), kmlButton4g = $(‘.load-kml-4g’); kmlButton.click(function (e) { ymaps.geoXml.load(‘geoObjects.kml’) .then(onGeoXmlLoad); }); kmlButton3g.click(function (e) { ymaps.geoXml.load(‘3gobject.kml’) .then(onGeoXmlLoad); }); kmlButton4g.click(function (e) ..

Read more