Skip to content

davidpiesse/leaflet.w3w

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

leaflet.w3w

Leaflet JS What3Words Plugin A demo example webpage is included to test this on. You will need your own What3Words API key from: http://developer.what3words.com/ Just include the js file and css file and add the snippet below

var w = new L.Control.w3w();
w.addTo(map);
map.on('click', function(e) {
    w.setCoordinates(e);
});

Happy Coding! D

About

Leaflet JS What3Words Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published