1

I'm editing a style in Mapbox Studio based on "Streets" and I'm trying to show the state boundaries in zoom level lower than 4. No matter what style starting at zoom level 1 to 22 I give to the layers (admin-3-4-boundaries and admin-3-4-boundaries-bg), whenever I go from zoom 4 to z3.9, the disappear.

I changed the filter at the "Select data" tabs and the same happens. I also tried creating a new layer with those lines and they show perfectly, but also disappear .

You have any ideas what can it be?

1

Problem is that you are merging 2 different things. -admin 2 or admin 3-4 means administration level, in the following link you have acomprehensive description of different admin level and if they are included in some level or not.

-zoom levels and vector tiles in Mapbox. In some layers (if the data is there) zoom level displaying is limited by a filter, in mapbox you have for each layer a Style and a Filter tab. When you open filter tab you'll see what data is visible at that level and you can change this, for example some small streets are limited to only appear when you are at zoom level 13. Vector Tiles, vector tiles is the format mapbox stores and uses data, it's similar to raster tile schema (data is packaged into different zooms and is generalized for lower zooms), so algorithm that packages data into vector tiles don't include all data at all zoom levels. So, for zoom 0-2 probably you only have land and water and some names, and boundaries to the others.

Solution, go to natural earth data, zipp shapefile you need admin-0-boundaries (polygons or lines) lines are only inland, no coastline. upload to mapbox as TILESET ADD A NEW LAYER, select uploaded tileset and start styling.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.