Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

122
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!