Skip to content

Does svelte-maplibre automatically center the map to accomodate an array of markers? #257

@jeromecc

Description

@jeromecc

Hello!

With svelte-leafletjs I can feed the component with an array of coordinates and it will automagically center the map and set the zoom to show all markers. Does this feature exist in svelte-maplibre or should I calculate the center myself? Is there a package that could do this calculation for me?

Thanks.

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