faienz93
faienz93

Reputation: 178

Add Layer to OpenLayers with Stamen "Burning Map"

as my title assert I would like to add a new "Burning" level of type stamen to my OpenLayers map. With others layer i.e watercolor/toner atc, it work, but not with Burning. My code for doing this is:

var stamenLayers = new ol.layer.Group({
title: 'Stamen',
layers: [
  new ol.layer.Tile({
    source: new ol.source.Stamen({
      layer: 'burning' // toner terrain toner-lite watercolor <-- this work
    })
  }),
  new ol.layer.Tile({
    source: new ol.source.Stamen({
      layer: 'terrain-labels'
    })
  })
]
});

Upvotes: 0

Views: 738

Answers (0)

Related Questions