MrMufflon / Leaflet.Coordinates

Leaflet plugin to view mouse coordinates
http://mrmufflon.github.io/Leaflet.Coordinates/
Other
104 stars 55 forks source link

Padding decimals with zeros to avoid flickering #7

Open giodamelio opened 11 years ago

giodamelio commented 11 years ago

If the decimal option is more then 0, and I move my mouse around a map quickly, the widget flickers between a few sizes when the mouse is on coords with no decimal. If you pad the output with zeros that would not happen.

MrMufflon commented 11 years ago

Hi,

I´m currently short on time for my side projects, so this won´t be fixed in the near future. A workaround would be to use custom formatter functions with the options labelFormatterLat and labelFormatterLng.

Regards Felix

giodamelio commented 11 years ago

Its not a problem, I ended up reimplementing the functionality of this plugin myself.

On Tue, Sep 17, 2013 at 9:03 AM, Felix Bache notifications@github.comwrote:

Hi,

I´m currently short on time for my side projects, so this won´t be fixed in the near future. A workaround would be to use custom formatter functions with the options labelFormatterLat and labelFormatterLng.

Regards Felix

— Reply to this email directly or view it on GitHubhttps://github.com/MrMufflon/Leaflet.Coordinates/issues/7#issuecomment-24600293 .

Gio d'Amelio giodamelio@gmail.com