Skip to content

How to set initial values for rotation and scale?Β #97

@pd-robin

Description

@pd-robin

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions