I want to use this map from mapbox as base layer in OpenLayers:


I used this example to make it work. Everything is fine when I keep the code as it is with original layer "world-light", but when I change it to "iraq", it doesn't work.

I checked it in Firebug and it looks fine - it asks for "iraq" tiles as the original page.

Do you have any ideas how to solve it? Thanks


1 Answer 1


I can't seem to get to the example on mapbox.com's site. Might be better to work from the one provided by OpenLayers:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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