Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Vector layers are cropped when rotated #1

Open
fnicollet opened this issue Jul 24, 2016 · 6 comments
Open

Vector layers are cropped when rotated #1

fnicollet opened this issue Jul 24, 2016 · 6 comments

Comments

@fnicollet
Copy link
Owner

Following the original issue, there is still one problem with vector rotation, when the map is at zoom 0/1.

We need to backport this fix from @IvanSanchez work Leaflet@a2595bb

Transformation is now done using the center and not the topLeft corner which was clamped (calculated in lat/lng).

@truongtv22
Copy link

Can you support for version 0.7.7

@fnicollet
Copy link
Owner Author

@hl1994 not possible, too many things related to Leaflet 1.0 which separate layer panes

@jeremygbyrne
Copy link

Hi @fnicollet. Loving your work so far, but has there been any progress on getting vector layers to rotate correctly? (My Leaflet project has begun using vector layers extensively, so I've had to stop using the rotation branch.) I'd offer to help, but my JS skills probably aren't up to it.

@fnicollet
Copy link
Owner Author

Hello @jeremygbyrne
not really any progress on this, sorry. My branch has been merged in the leaflet repo, so maybe one day it will be fully working. It is hard to keep up with the leaflet master changes

Fabien

@jeremygbyrne
Copy link

Hi @fnicollet Thanks for the reply! Does that mean the main branch now supports rotation, somehow?

@fnicollet
Copy link
Owner Author

fnicollet commented Jan 30, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants