UNPKG

npmap.js

Version:

A JavaScript web mapping library, built as a Leaflet plugin, for the National Park Service.

234 lines (233 loc) 8.81 kB
{ "bing": { "aerial": { "icon": "aerial", "layer": "aerial", "maxZoom": 19, "minZoom": 0, "name": "Bing Aerial", "type": "bing" }, "aerialLabels": { "icon": "aerial", "layer": "aerialwithlabels", "maxZoom": 19, "minZoom": 0, "name": "Bing Hybrid", "type": "bing" }, "roads": { "icon": "street", "layer": "road", "maxZoom": 19, "minZoom": 0, "name": "Bing Roads", "type": "bing" } }, "esri": { "gray": { "attribution": "Copyright: &copy;2013 Esri, DeLorme, NAVTEQ", "maxZoom": 16, "minZoom": 1, "name": "Esri Light Gray", "tiled": true, "type": "arcgisserver", "url": "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer" }, "imagery": { "attribution": "Esri, DigitalGlobe, GeoEye, i-cubed, USDA, USGS, AEX, Getmapping, Aerogrid, IGN, IGP, swisstopo, and the GIS User Community", "icon": "aerial", "maxZoom": 19, "minZoom": 1, "name": "Esri Imagery", "popup": false, "tiled": true, "type": "arcgisserver", "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" }, "nationalGeographic": { "attribution": "Esri", "maxZoom": 16, "minZoom": 1, "name": "Esri National Geographic", "popup": false, "tiled": true, "type": "arcgisserver", "url": "http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer" }, "oceans": { "attribution": "Esri", "maxZoom": 16, "minZoom": 1, "name": "Esri Oceans", "tiled": true, "type": "arcgisserver", "url": "http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer" }, "shadedRelief": { "attribution": "Esri, USGS", "icon": "topo", "maxZoom": 13, "minZoom": 1, "name": "Esri Shaded Relief", "popup": false, "tiled": true, "type": "arcgisserver", "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer" }, "streets": { "attribution": "Esri", "dynamicAttribution": "http://static.arcgis.com/attribution/World_Street_Map?f=json", "icon": "street", "maxZoom": 19, "minZoom": 1, "name": "Esri Streets", "tiled": true, "type": "arcgisserver", "url": "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" }, "terrain": { "attribution": "Esri, NOAA, USGS", "icon": "topo", "maxZoom": 17, "minZoom": 1, "name": "Esri Terrain", "popup": false, "tiled": true, "type": "arcgisserver", "url": "http://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer" }, "topographic": { "attribution": "Esri", "dynamicAttribution": "http://static.arcgis.com/attribution/World_Street_Map?f=json", "icon": "topo", "maxZoom": 17, "minZoom": 1, "name": "Esri Topo", "popup": false, "tiled": true, "type": "arcgisserver", "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" } }, "mapbox": { "light": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "street", "id": "nps.map-sligp1fr", "name": "Mapbox Light", "type": "mapbox" }, "outdoors": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "topo", "id": "nps.i49i583a", "name": "Mapbox Outdoors", "type": "mapbox" }, "satellite": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a>", "icon": "aerial", "id": "nps.map-n9nxe12m", "maxNativeZoom": 18, "name": "Mapbox Satellite", "type": "mapbox" }, "satelliteLabels": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "aerial", "id": "nps.map-r3ilza09", "maxNativeZoom": 18, "name": "Mapbox Hybrid", "type": "mapbox" }, "streets": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "street", "id": "nps.map-06dnxzq5", "name": "Mapbox Streets", "type": "mapbox" }, "terrain": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "topo", "id": "nps.map-lj6szvbq", "name": "Mapbox Terrain", "type": "mapbox" } }, "nps": { "darkStreets": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "nps", "id": "nps.gajjemg7", "name": "NPS Dark", "type": "mapbox" }, "lightStreets": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "nps", "id": "nps.g9ndno9j", "name": "NPS Light", "type": "mapbox" }, "neutralTerrain": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "nps", "id": "nps.g9nccg3d", "name": "NPS Neutral Terrain", "type": "mapbox" }, "parkTiles": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors | <a class='improve-park-tiles' href='http://www.nps.gov/npmap/park-tiles/improve/' target='_blank'>Improve Park Tiles</a>", "icon": "nps", "id": "nps.2yxv8n84", "name": "Park Tiles", "type": "mapbox" }, "parkTilesImagery": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors | <a class='improve-park-tiles' href='http://www.nps.gov/npmap/park-tiles/improve/' target='_blank'>Improve Park Tiles</a>", "icon": "nps", "id": "nps.map-n9nxe12m,nps.gdipreks", //"maxNativeZoom": 19, "name": "Park Tiles Imagery", "type": "mapbox" }, "satelliteNight": { "attribution": "&copy; <a href='http://mapbox.com/about/maps' target='_blank'>Mapbox</a> &copy; <a href='http://openstreetmap.org/copyright' target='_blank'>OpenStreetMap</a> contributors", "icon": "nps", "id": "nps.g9o0im10", "name": "NPS Satellite at Night", "type": "mapbox" } }, "openstreetmap": { "attribution": "&copy; <a href='http://openstreetmap.org/copyright'>OpenStreetMap</a> contributors", "icon": "street", "name": "OpenStreetMap", "type": "tiled", "url": "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }, "stamen": { "toner": { "attribution": "Map tiles by <a href='http://stamen.com'>Stamen Design</a>, under <a href='http://creativecommons.org/licenses/by/3.0'>CC BY 3.0</a>. Data &copy; <a href='http://openstreetmap.org/copyright'>OpenStreetMap</a> contributors.", "icon": "street", "maxZoom": 20, "minZoom": 0, "name": "Stamen Toner", "subdomains": "abcd", "type": "tiled", "url": "http://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png" }, "watercolor": { "attribution": "Map tiles by <a href='http://stamen.com'>Stamen Design</a>, under <a href='http://creativecommons.org/licenses/by/3.0'>CC BY 3.0</a>. Data &copy; <a href='http://openstreetmap.org/copyright'>OpenStreetMap</a> contributors.", "maxZoom": 16, "minZoom": 3, "name": "Stamen Watercolor", "subdomains": "abcd", "type": "tiled", "url": "http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.jpg" } } }