Skip to content

Any way to serialize and deserialize with rotation, scale and location? #118

@fuatsengul

Description

@fuatsengul

Hi, I have rectangles that I need to manipulate.
I've saved _latlngs of my polygon to the database and reload it by simply calling polygon.setLatLngs, however it creates a new rectangle box around my initially rotated rectangle. How can I fully save the state to my database and bring it back for later usage?

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