Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Basically I created a MBtiles using Tilemill and it generates a map with six zooms. I implement it into tilestream. I added a layer on the openlayers module(Drupal) in XYZ:


The problem is this URL sent by openlayers: site:8888/v2/geography-class/-1/x/x.png

Each time, whatever the zoom I am on the map, the zoom value always stays at -1, the others values are okay.

If I try to reach site:8888/v2/geography-class/1/1/1.png it works.

What did I miss?

share|improve this question

Possibly there is a configuration error on the openlayers side (e.g. not setting the numZoomLevels or setting it to zero, since the maximum zoom level is numZoomLevels-1.

See for configuration details.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.