Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jun 27, 2014

README.md

Leaflet Coordinates Control

Captures mouseclick and displays its coordinates with easy way to copy them.

Demo

See demo here.

How to use

var c = new L.Control.Coordinates(); # you can send options to the constructor if you want to, otherwise default values are used

c.addTo(map);

map.on('click', function(e) {
	c.setCoordinates(e);
});

About

Captures mouseclick and displays its coordinates with easy way to copy them.

Resources

License

Releases

No releases published
You can’t perform that action at this time.