Crater Lake National Park


Digital maps for the National Park Service

ArcGisServerRest Layer (Tiled)

This example shows how you can easily add a "tiled" ArcGisServerRest layer to an NPMap web map. When you add an ArcGisServerRest layer to a NPMap web map, you get display and identify support out of the box.

This example adds an ArcGisServerRest layer via the baseLayers config. You can also add ArcGisServerRest layers via the layers config.


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: [{
          attribution: 'Esri',
          identify: false,
          layers: 'all',
          name: 'Ocean Basemap',
          tiled: true,
          type: 'ArcGisServerRest',
          url: ''
        div: 'example-map'
      (function() {
        var s = document.createElement('script');
        s.src = '';