Skip to content

juanmaioli/leaflet.w3w

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 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

Original from https://github.com/davidpiesse/leaflet.w3w

Updated to API V3

Remember add your api key in control.w3w.js

Remove CSS

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

Languages

  • JavaScript 55.0%
  • HTML 45.0%