Answer the question
In order to leave comments, you need to log in
How to enable clustering when loading data from a gpx file?
There is such a code with displaying labels from the list.gpx file, please tell me how to enable clustering.
ymaps.ready(init);
var myMap;
function init(){
myMap = new ymaps.Map("map", {
center: [55.76, 37.64],
zoom: 7
});
var data = ymaps.geoXml.load("list.gpx");
data.then(function(res) {
myMap.geoObjects.add(res.geoObjects);
});
myMap.behaviors.disable('scrollZoom');
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question