Leaflet.MousePosition icon indicating copy to clipboard operation
Leaflet.MousePosition copied to clipboard

Add formatter for whole string, instead of just lat and long

Open tstibbs opened this issue 8 years ago • 0 comments

This pull request adds the ability to specify a formatter that formats the lat/long as a single string, rather than having to specify them individually.

For example, in the UK we commonly use OSGB as the coordinate system and format the strings something like SK 123 456 where SK refers to a particular bounding box, the 123 is the longitude within that box and the 456 is the lattitude. Clearly, the SK is as much as part of the longitude as the lattitude, and thus cannot be written separately.

tstibbs avatar Jun 08 '16 11:06 tstibbs