Open sisou opened 7 years ago
This change makes the zooming issues better, but does not fix zooming of vector layers when rotated.
Wow, had so many headaches on this one, and you just did it :)
Can't test at the moment, but if it works with vector layers, all good to merge!
Tested. Works well when map is not rotated. The current rotation of map shall be considered when transform the canvas.
This PR backports https://github.com/Leaflet/Leaflet/commit/a2595bbfe8109dc9cd24a15d28e0e4e6048e2e5f, to fix #1