Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling: sources -> bounds is not reflected in the editor #1037

Open
prusswan opened this issue Jan 28, 2025 · 0 comments
Open

Styling: sources -> bounds is not reflected in the editor #1037

prusswan opened this issue Jan 28, 2025 · 0 comments

Comments

@prusswan
Copy link

Description of the bug:

Under the style specification, raster/vector sources can have an optional bounds parameter. However, this value is not shown in the editor (hence it cannot be verified or modified in maputnik). This may cause confusion to users who are unaware of this issue.

Steps to reproduce the behavior:

  1. Create or import a style with a data source that has bounds specified
  2. Observe that the style is applied in the map, but not fully shown in the editor (i.e. the bounds value is not shown).

Style file or style URL (partial):

  "sources": {
    "source": {
      "type": "vector",
      "minzoom": 0,
      "maxzoom": 17,
      "bounds": [140,20,150,30]
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant