Mapbox GL JS, self hosted vector tiles with missing levels

المشرف العام

Administrator
طاقم الإدارة
Using Mapbox GL JS with self hosted vector tiles in protobuf format where it looks for tiles using {z}/{x}/{y}.pb paths.

I have a scenario where I only have data for zoom levels 9, 11 and 13. Is there any way to prevent Mapbox GL JS to try loading other zoom levels? At the moment I get a bunch of 404's on zoom level 12 for example.

Thanks!



أكثر...
 
أعلى