Crater Lake National Park


Digital maps for the National Park Service

TileStream Layer

This example shows how to add a TileStream layer to an NPMap web map. NPMap supports compositing and interactivity, so you get all of these features, out of the box, when you add one or more TileStream layers to your map.


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',
        div: 'example-map',
        identify: {
          content: function(data) {
            var html = '<ul>';

            for (var p in data) {
              if (data.hasOwnProperty(p)) {
                html += '<li>' + p + ': ' + data[p] + '</li>';

            return html + '</ul>';
          title: 'Attributes'
        layers: [{
          attribution: 'Air Resources Division',
          id: 'nps.Air_Atlas_Monitors',
          name: 'Air Atlas Monitors',
          type: 'TileStream'
      (function() {
        var s = document.createElement('script');
        s.src = '';