0

I have a GeoJson feature that is rendered with leaflet and proj4(ESPG:31467). Now I want to rotate that feature so that it NW corner points to NE, e.g. 90 deg rotation. Is there a way to do this? Or can you give me hints how to address this issue and develop a LL plugin for such functionality.

Cheers, George

George
  • 25
  • 2
  • 8

1 Answers1

0

Leaflet.Path.Drag allows rotation by the user.

Might not provide a direct method for what you want, but certainly has the building blocks to achieve it.

You can also do the transformation yourself, the math is not really complicated: possible helpful related question

Community
  • 1
  • 1
Jieter
  • 4,101
  • 1
  • 19
  • 31