Skip to content

Zoom min seems to be hardcoded #2

Open
@submarcos

Description

@submarcos
  • I try to change default backend settings to center map to Lat 0 and Lng 0, with zoom level to see a big part of the world

  • I tried to change initial map bounds, center and zoom by default

  • I can't set zoom as I want

Capture d’écran du 2020-06-15 14-05-37

with settings

"map": {
    "accessToken": "token",
    "center": [0, 0],
    "zoom": 4,
    "maxBounds": [[-180, -90], [180, 90]],
    "backgroundStyle": [
        {"label": "Plan", "url": "mapbox://styles/mapbox/streets-v9"},
     ],
}

"-" button is blocked and I can't zoom out

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