Crater Lake National Park


Digital maps for the National Park Service

Tiled Layer

This example shows how you can easily add a simple Tiled layer to your map. The Tiled layer handler can be used to bring 256x256 pixel tiles from a wide variety of sources into an NPMap map.

The example below uses the Park Base tileset, which is one layer in the Park Tiles project.


Related resources:



<!DOCTYPE html>
    <meta charset="utf-8">
    <div id="example-map" style="height:500px;position:absolute;width:500px;">
      var NPMap = NPMap || {};
      NPMap.config = {
        api: 'bing',
        baseLayers: false,
        layers: [{
          attribution: 'NPMap Team',
          name: 'Park Base',
          type: 'Tiled',
          subdomains: [
          url: 'http://{{s}}{{z}}/{{x}}/{{y}}.png',
          zoomRange: {
            max: 9,
            min: 4
        div: 'example-map'
      (function() {
        var s = document.createElement('script');
        s.src = '';