Answer the question
In order to leave comments, you need to log in
Uncaught Error: Invalid LatLng object: (undefined, NaN) how to fix?
omnivore
.kml('kmz/kml_files/doc.kml')
.on("ready", function(event){
event.target.eachLayer(function(layer) {
console.log(layer);
});
map.fitBounds(event.target.getBounds());
})
.addTo(map);
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