Skip to content

custom zoomLVL and zoomCoordinates #25

@joneswe

Description

@joneswe

I want to manipulate zoomLvL and the zoomCoordinates of mapObjects(mapAreas).
with
map.zoomToLongLat(areaZoomLvL + offset, areaLong + offset, areaLat+ offset)
I can zoom to a specific location.
I'm fine with the lat/long. I can get them with
map.getAreaCenterLongitude(mapObject)
and
map.getAreaCenterLatitude(mapObject)

But I couldn't figure out how to get the standard zoomLvL of an area.
Is there a way to get the standard zoomLvL of an area or to manipulate the standard zoom behavior?

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