Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

123
Vistas
Mapbox raster tiles disappearing despite setting maxzoom

I use raster tiles in my Mapbox application, which I integrate as follows:

  map.addSource('sourceID', {
    type: 'raster',
    tiles: ['URL_TO_TILES'],
    maxzoom: 22,
    minzoom: 0,
  });

  map.addLayer({
    id: 'layerID',
    type: 'raster',
    source: 'sourceID',
    rasterOpacity: 0.5,
    rasterResampling: 'nearest',
  });

According to the docs, the expected behaviour for maxzoom should be:

Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels.

In my case the tiles just disappear on zoom level 11, although I have set a maxzoom

Is this caused by the tiles from the server or do I need to adjust my Mapbox code?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You're most likely misinterpreting the spec.

Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels.

If your tiles are disappearing at zoom 11, it's most likely that they are not available (on the server that is providing them) at higher zoom levels than 11.

So you should set your maxzoom to 11. The raster tiles will be overzoomed (pixelated) as you zoom further in.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda