Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Leaflet.KMLGroundOverlay kmz

  var track = new L.KML('Coventry.kml', {async: true})
.on('loaded', function (e) {
    map.fitBounds(e.target.getBounds());
})
.addTo(map);
  L.control.layers({}, {'Track':track}).addTo(map);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kmz
ADD COMMENT
Topic
Name
4+2 =