Skip to content

Unable to fit the map to the existing extent #17

@deviirmr

Description

@deviirmr

I have add a geojson point layer to the map and then I use function
map.fitBounds(pointGeojsonLayer.getBounds());

I noticed pointGeojsonLayer.getBounds() return an extent in epgd:4326 cordinate only which is not get fitted on the polar map.
do I need to project the output of pointGeojsonLayer.getBounds()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions