Skip to content

Can you extend fitBounds utils/func #200

@ipostol

Description

@ipostol

Hello, in my project i am often I change the position of the map on the basis of the extreme coordinates, center and zoom i always take from fitBounds in render method. All my changes written to url and i can push or pop map position.

Problem: when trigger re-render with new NW, SE: center and zoom - correctly but NW and SE changed for themselves after onChange call. I know this is need but i will know future real NW and SE before change map.

Maybe you can in fitBounds send future NW and SE, or please say me how i can do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions