cloudybay / leaflet.latlng-graticule

Lat/Lon Graticule for Leaflet map
MIT License
56 stars 40 forks source link

Add formatting options #1

Open IvanSanchez opened 8 years ago

IvanSanchez commented 8 years ago

It would be nice to have some kind of option to decide the formatting of the numbers, i.e. 40.5W vs -40.5 vs -40°30'

obama commented 6 years ago

you can pass functions for formatting in the options: latFormatTickLabel and lngFormatTickLabel.

quantenschaum commented 2 years ago

Especially in higher zoom levels it would be great to have the labels showing deg min format.