Stamen Tiles for Terrain data

Does anyone know, why whether Stamen Tiles (OSM) for terrain are supported ? at least this code is not working for me :
var imageryProvider = new Cesium.OpenStreetMapImageryProvider({
url: ‘’,
fileExtension: ‘jpg’

however with urls:


it works fine.


That layer (sort of) works for me using this code in Sandcatle:

require([‘Cesium’], function(Cesium) {

“use strict”;

var widget = new Cesium.CesiumWidget(‘cesiumContainer’, {

imageryProvider : new Cesium.OpenStreetMapImageryProvider({

url : ‘’,

fileExtension : ‘jpg’





However, the Stamen service returns gray tiles for the first four tile levels, for unknown reasons, so you’ll have to zoom in before you can see anything. You can see the problem in their client as well:

Zoom in and suddenly you’re looking at the U.S. You’ll probably need to contact Stamen to ask them why their layer is behaving that way.


Unfortunatelly, the code you posted, does not work either in the SandCastle. There are no images, no matter what zoom level I have. In the console I receive the message:

An error occurred in “OpenStreetMapImageryProvider”: Failed to obtain image tile X: 1 Y: 0 Level: 1.

and the Earth is a transparent image in all zoom levels…


Hi Marcin,

I started with the Black Marble example. It’s still working for me (though I do get some errors in the console about missing tiles). The globe is initially grey, and if I zoom in from the default view without rotating, the U.S. eventually appears:

Does the Stamen client I linked above work for you?


This is what I get from SandCaste:

Can you load the tiles directly in your browser?