Reputation: 2242
Using mapbox gl js.
I have set all my custom mapbox style layers zoom settings to be max range [0, 22] in mapbox studio. But layers are not visible after reaching 6-8 zoom levels on zoom-out.
It seems that mapbox understand automatically somehow that there is no reasot to show polygons anymore because they are too small and hides them.
What is exact case and where could i read about this? (didn't find anything in docs)
Upvotes: 2
Views: 3473
Reputation: 31
I got the same problem and solved by adding "icon-allow-overlap": true
to the layer
layout={{
"icon-image": "image",
"icon-size": 0.8,
"icon-allow-overlap": true,
}}
Upvotes: 2
Reputation: 5768
The style settings consist of two important components:
If you tell your style layers they should display on all zoom levels but the sources are missing data for some of these zoom levels, then the corresponding style layer won't work.
Reasons why some layers do not display data for some zoom levels:
Upvotes: 1