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