slearner
slearner

Reputation: 672

Getting railways to show up at lower zoom levels

I need to highlight a country's railways at zoom level ~4, and I'd like to do so just using the mapbox-streets-v8 data, but not matter what I seem to do, in Mapbox Studio, in the style JSON, or in the code, I can't seem to get the road/railways layer to be visible at a zoom level under 8.

It looks like, from tinkering around in Mapbox Studio, the source isn't even loaded until zoom 8, since the features don't appear as "filtered out", they just don't appear at all. I've set the "zoom extent" down to 5 on the layer (as low as it will go), but nothing I do seems to actually get it to appear at zoom 5, let alone at a level more zoomed out:

lower zoom level, railways not displayed at all, even as "filtered out"

zoom level of 8, railways are suddenly visible

Upvotes: 1

Views: 668

Answers (1)

Steve Bennett
Steve Bennett

Reputation: 126457

It's not possible. The data doesn't exist at that zoom level in those vector tiles. You would need to prepare your own vector tiles from your own data source.

Upvotes: 2

Related Questions