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

i'm using OpenLayers (v2.13.1) and would like to use Stamen Toner tiles as background.

The example is simple to understand :

But i'd like to use the "lite" variant of the toner tiles, how is it possible with OpenLayer ?


share|improve this question

Found it !

var toner = new OpenLayers.Layer.Stamen("toner-lite");

share|improve this answer

Please check out the following code

    <title> OpenLayers</title>
    <script type="text/javascript" src=""></script>
    <script type="text/javascript" src=""></script>
    <script type="text/javascript">
        var map, layer;
        function initialize() {
            map = new OpenLayers.Map('map', {controls: [new OpenLayers.Control.LayerSwitcher({})]});
            stamenLayer = new OpenLayers.Layer.Stamen("toner-lite");

            map.setCenter(new OpenLayers.LonLat(-13630355, 4546576), 10);

    <style type="text/css">
        #map {
            width: 800px;
            height: 600px;
<body onload="initialize()">
    <div id="map"></div>
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.