Leaflet.Path.Transform
Leaflet.Path.Transform copied to clipboard
How to set initial values for rotation and scale?
Hi there, I can't seem to find a way to set initial values for rotation and scaling. Is that possible? Something like:
var polygon = L.polygon([..., ...], { transform: true, rotation: 0.6 }).addTo(map);
That would be super useful to save and load configurations.
Thanks for your help!