News for hackers. Stuff that matters.
Re:Leaflet: An open-source JavaScript library for mobile-fri... by socmag on Saturday December 03, 2016 @07:19PM (#13098153)
Hey, again great stuff.

I have a small question while you are here...

In my application, when a user zooms the map.. the tiles and markers seem to get get zoomed at different rates, then finally snap back together at the end of the zoom.

Is this something I'm doing wrong. Is there anyway to mitigate that effect?

Thanks again.

Re:Leaflet: An open-source JavaScript library for mobile-fri... by mourner on Sunday December 04, 2016 @04:33AM (#13099389)
Does this effect happen on the Leaflet frontpage example? You could be using an older version Leaflet CSS with a newer version JS.
Re:Leaflet: An open-source JavaScript library for mobile-fri... by socmag on Wednesday December 07, 2016 @08:47AM (#13122441)
Hey @mourner... so it works great with pinch zoom. Still have the same issue if using the mouse wheel to zoom. Just FYI.
Re:Leaflet: An open-source JavaScript library for mobile-fri... by socmag on Monday December 05, 2016 @08:06AM (#13105079)
The CSS wasn't mismatched, but I've upgraded to the latest leaflet and now it works super. Thanks!
Re:Leaflet: An open-source JavaScript library for mobile-fri... by socmag on Sunday December 04, 2016 @05:09PM (#13102044)
Ah maybe.. I will double check and report back. Thanks a lot for the suggestion!