slippy-tile
Advanced tools
Comparing version 1.10.1 to 1.10.2
@@ -380,3 +380,3 @@ (function (global, factory) { | ||
const natgeo = { | ||
var natgeo = { | ||
name: 'ESRI National Geographic World Map', | ||
@@ -396,3 +396,3 @@ categories: [ | ||
const ocean = { | ||
var ocean = { | ||
name: 'ESRI Ocean Basemap', | ||
@@ -411,3 +411,3 @@ categories: [ | ||
const usatopo = { | ||
var usatopo = { | ||
name: 'ESRI USA Topo Maps', | ||
@@ -426,3 +426,3 @@ categories: [ | ||
const imagery$1 = { | ||
var imagery$1 = { | ||
name: 'ESRI World Imagery', | ||
@@ -441,3 +441,3 @@ categories: [ | ||
const street = { | ||
var street = { | ||
name: 'ESRI World Street Map', | ||
@@ -456,3 +456,3 @@ categories: [ | ||
const topo = { | ||
var topo = { | ||
name: 'ESRI World Topographic Map', | ||
@@ -482,3 +482,3 @@ categories: [ | ||
const standard = { | ||
var standard = { | ||
name: 'OpenStreetMap Standard', | ||
@@ -497,3 +497,3 @@ categories: [ | ||
const cycle = { | ||
var cycle = { | ||
name: 'OpenStreetMap Cycle Map', | ||
@@ -512,3 +512,3 @@ categories: [ | ||
const hot = { | ||
var hot = { | ||
name: 'OpenStreetMap Humanitarian', | ||
@@ -528,3 +528,3 @@ categories: [ | ||
const transport = { | ||
var transport = { | ||
name: 'OpenStreetMap Transport Map', | ||
@@ -543,3 +543,3 @@ categories: [ | ||
const wikimedia = { | ||
var wikimedia = { | ||
name: 'OpenStreetMap Wikimedia', | ||
@@ -558,3 +558,3 @@ categories: [ | ||
const lyrk = { | ||
var lyrk = { | ||
name: 'OpenStreetMap Lyrk', | ||
@@ -583,3 +583,3 @@ categories: [ | ||
const both = { | ||
var both = { | ||
name: 'Strava Cycling & Running', | ||
@@ -604,3 +604,3 @@ categories: [ | ||
const hybrid = { | ||
var hybrid = { | ||
attribution: '© DigitalGlobe, © OpenStreetMap, © Mapbox', | ||
@@ -622,3 +622,3 @@ categories: [ | ||
const imagery$2 = { | ||
var imagery$2 = { | ||
name: 'DigitalGlobe Imagery', | ||
@@ -644,3 +644,3 @@ categories: [ | ||
const outdoors = { | ||
var outdoors = { | ||
name: 'Mapbox Outdoors', | ||
@@ -661,3 +661,3 @@ categories: [ | ||
const imagery$3 = { | ||
var imagery$3 = { | ||
name: 'Mapbox Imagery', | ||
@@ -664,0 +664,0 @@ categories: [ |
@@ -1,1 +0,1 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(e.slippyTile=e.slippyTile||{})}(this,function(e){"use strict";function r(e){return e=e||256,2*Math.PI*6378137/e}function t(e){u(e);var r=e[0],t=e[1],a=r*T/180,i=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return i=i*T/180,a=Number(a.toFixed(1)),i=Number(i.toFixed(1)),[a,i]}function a(e){var r=e[0],t=e[1],a=r/T*180,i=t/T*180;return i=180/Math.PI*(2*Math.atan(Math.exp(i*Math.PI/180))-Math.PI/2),a=Number(a.toFixed(6)),i=Number(i.toFixed(6)),[a,i]}function i(e,r){y(e);var t=e[0],a=e[1],i=e[2],o=h(i,r),n=t*o-T,s=a*o-T;return n=Number(n.toFixed(1)),s=Number(s.toFixed(1)),[n,s]}function o(e,r){r=r||256,g(e);var t=e[0],a=e[1],o=e[2],n=i([t*r,a*r,o]),s=i([(t+1)*r,(a+1)*r,o]);return[n[0],n[1],s[0],s[1]]}function n(e){g(e);var r=e[0],t=e[1],i=e[2];if(0===i)return[-180,-85.051129,180,85.051129];var n=o([r,t,i]),s=n[0],p=n[1],l=n[2],c=n[3],m=a([s,p,i]),d=a([l,c,i]);return[m[0],m[1],d[0],d[1]]}function s(e){var r=p(e);return n(r)}function p(e){var r=e[0],t=e[1],a=e[2],i=r,o=Math.pow(2,a)-t-1;return[i,o,a]}function l(e){var r=p(e);return c(r)}function c(e){g(e);var r=e[0],t=e[1],a=e[2];if(0===a)return"";var i="";return t=Math.pow(2,a)-1-t,b(a,0,-1).map(function(e){var a=0,o=1<<e-1;0!==(r&o)&&(a+=1),0!==(t&o)&&(a+=2),i=i.concat(a)}),i}function m(e){var r=t([e[0],e[1]]),a=t([e[2],e[3]]);return[r[0],r[1],a[0],a[1]]}function g(e){var r=e[0],t=e[1],a=e[2];if(d(a),void 0===r||null===r)throw new Error("<x> is required");if(void 0===t||null===t)throw new Error("<y> is required");if(r<0)throw new Error("<x> must not be less than 0");if(t<0)throw new Error("<y> must not be less than 0");var i=Math.pow(2,a);if(r>=i||t>=i)throw new Error("Illegal parameters for tile");return e}function d(e){if(void 0===e||null===e)throw new Error("<zoom> is required");if(e<0)throw new Error("<zoom> cannot be less than 0");if(e>30)throw new Error("<zoom> cannot be greater than 30");return e}function u(e){var r=e[0],t=e[1];if(void 0===t||null===t)throw new Error("<lat> is required");if(void 0===r||null===r)throw new Error("<lng> is required");if(t<-90||t>90)throw new Error("LngLat <lat> must be within -90 to 90 degrees");if(r<-180||r>180)throw new Error("LngLat <lng> must be within -180 to 180 degrees");return[r,t]}function y(e){return e}function h(e,t){return r(t)/Math.pow(2,e)}function b(e,r,t){null==r&&(r=e||0,e=0),t||(t=r<e?-1:1);for(var a=Math.max(Math.ceil((r-e)/t),0),i=Array(a),o=0;o<a;o++,e+=t)i[o]=e;return i}function f(e,r){var t=e[0],a=e[1],i=e[2];if(r=M(e,r),r=S(r),r=w(r),r=r.replace(/{(zoom|z|level)}/,String(i)),r=r.replace(/{(x|col)}/,String(t)),r=r.replace(/{(y|row)}/,String(a)),r.match(/{-y}/)&&(r=r.replace(/{-y}/,String(p(e)[1]))),r.match(/{(quadkey|q)}/)&&(r=r.replace(/{(quadkey|q)}/,l(e))),r.match(/{.*}/))throw new Error("Could not completly parse URL"+r);return r}function M(e,r){r=r.replace(/{height}/gi,"256"),r=r.replace(/{width}/gi,"256"),r=r.replace(/{(proj|srs|crs)}/gi,"EPSG:3857");var t;return t=r.match(/EPSG:(3857|900913)/i)?m(s(e)):s(e),r.match(/{bbox}/i)&&(r=r.replace(/{bbox}/gi,t.join(","))),r}function S(e){return e=e.replace(/{TileCol}/gi,"{x}"),e=e.replace(/{TileRow}/gi,"{y}"),e=e.replace(/{TileMatrix}/gi,"{z}"),e=e.replace(/{TileMatrixSet}/gi,"GoogleMapsCompatible"),e=e.replace(/{Style}/gi,"default")}function w(e){if(e.match(/{s}/))return e.replace(/{s}/gi,String(v(["a","b","c"])));var r=/{switch:([a-z,\d]*)}/,t=e.match(r);return t?e.replace(r,String(v(t[1].split(",")))):e}function v(e){return e[Math.floor(Math.random()*e.length)]}var T=2*Math.PI*6378137/2;const E={name:"Bing Imagery",categories:["bing","imagery","world"],url:"https://ecn.t{switch:0,1,2,3}.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=5250",description:"Tiles from Bing",attribution:"Map data © Bing",format:"jpg",type:"baselayer"};var x=Object.freeze({imagery:E});const I={name:"ESRI National Geographic World Map",categories:["esri","national","geographic","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map is designed to be used as a general reference map for informational and educational purposes as well as a basemap by GIS professionals and other users for creating web maps and web mapping applications.",attribution:"National Geographic, Esri, DeLorme, HERE, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, INCREMENT P",format:"jpg",type:"baselayer"},O={name:"ESRI Ocean Basemap",categories:["esri","ocean","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean_Basemap/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"The ocean basemap includes bathymetry, surface and subsurface feature names, and derived depths. This service is designed to be used as a basemap by marine GIS professionals and as a reference map by anyone interested in ocean data.",attribution:"Esri, GEBCO, NOAA, National Geographic, DeLorme, HERE, Geonames.org, and other contributors",format:"jpg",type:"baselayer"},N={name:"ESRI USA Topo Maps",categories:["esri","topo","topographicusa"],url:"https://services.arcgisonline.com/arcgis/rest/services/USA_Topo_Maps/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map service presents detailed USGS topographic maps for the United States at multiple scales.",attribution:"© 2011 National Geographic Society, i-cubed",format:"jpg",type:"baselayer"},G={name:"ESRI World Imagery",categories:["esri","imagery","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map service presents satellite imagery for the world and high-resolution imagery for the United States and other areas around the world.",attribution:"Esri, DigitalGlobe, Earthstar Geographics, CNES/Airbus DS, GeoEye, USDA FSA, USGS, Getmapping, Aerogrid, IGN, IGP, and the GIS User Community",format:"jpg",type:"baselayer"},j={name:"ESRI World Street Map",categories:["esri","street","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer/WMTS/tile/1.0.0/World_Topo_Map/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map service presents highway-level data for the world and street-level data for North America, Europe, Africa, parts of the Middle East, Asia, and more.",attribution:"Esri, HERE, DeLorme, USGS, Intermap, INCREMENT P, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), MapmyIndia, © OpenStreetMap contributors, and the GIS User Community",format:"jpg",type:"baselayer"},z={name:"ESRI World Topographic Map",categories:["esri","topo","topographic","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This world topographic map includes boundaries, cities, water features, physiographic features, parks, landmarks, transportation, and buildings.",attribution:"Esri, HERE, DeLorme, Intermap, INCREMENT P, GEBCO, USGS, FAO, NPS, NRCAN, GeoBase, IGN, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), swisstopo, MapmyIndia, © OpenStreetMap contributors, GIS User Community",format:"jpg",type:"baselayer"};var C=Object.freeze({natgeo:I,ocean:O,usatopo:N,imagery:G,street:j,topo:z});const W={name:"OpenStreetMap Standard",categories:["openstreetmap","standard","world"],url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},R={name:"OpenStreetMap Cycle Map",categories:["openstreetmap","cycle","world"],url:"https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},A={name:"OpenStreetMap Humanitarian",categories:["openstreetmap","hot","humanitarian","world"],url:"https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},_={name:"OpenStreetMap Transport Map",categories:["openstreetmap","transport","world"],url:"https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},k={name:"OpenStreetMap Wikimedia",categories:["openstreetmap","wikimedia","world"],url:"https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png",description:"Tiles from OSM",attribution:"Map data © OSM",format:"png",type:"baselayer"},U={name:"OpenStreetMap Lyrk",categories:["openstreetmap","lyrk","world"],url:"https://tiles.lyrk.org/ls/{z}/{x}/{y}?apikey=6e8cfef737a140e2a58c8122aaa26077",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"};var P=Object.freeze({standard:W,cycle:R,hot:A,transport:_,wikimedia:k,lyrk:U});const D={name:"Strava Cycling & Running",categories:["strava","cycling","running","world"],url:"https://globalheat.strava.com/tiles/both/color/{z}/{x}/{y}.png",description:"Tiles from Strava",attribution:"Map data © Strava",format:"png",type:"overlay"};var L=Object.freeze({both:D});const q={attribution:"© DigitalGlobe, © OpenStreetMap, © Mapbox",categories:["digitalglobe","dg","imagery","street","hybrid","world"],description:"Tiles from DigitalGlobe",name:"DigitalGlobe Hybrid",format:"jpg",url:"https://{s}.tiles.mapbox.com/v4/digitalglobe.nal0mpda/{z}/{x}/{y}",type:"baselayer"},F={name:"DigitalGlobe Imagery",categories:["digitalgloble","dg","imagery","world"],url:"https://{s}.tiles.mapbox.com/v4/digitalglobe.nal0g75k/{z}/{x}/{y}",description:"Tiles from DigitalGlobe",attribution:"© DigitalGlobe",format:"jpg",type:"baselayer"};var B=Object.freeze({hybrid:q,imagery:F});const H={name:"Mapbox Outdoors",categories:["mapbox","classic","outdoors","topo","world"],url:"https://{s}.tiles.mapbox.com/v4/aj.um7z9lus/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpbG10dnA3NzY3OTZ0dmtwejN2ZnUycjYifQ.1W5oTOnWXQ9R1w8u3Oo1yA",description:"Tiles from Mapbox",attribution:"© Mapbox, OpenStreetMap",format:"png",type:"overlay"},Y={name:"Mapbox Imagery",categories:["mapbox","imagery","world"],url:"https://{s}.tiles.mapbox.com/v4/openstreetmap.map-inh7ifmo/{z}/{x}/{y}.jpg?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpbG10dnA3NzY3OTZ0dmtwejN2ZnUycjYifQ.1W5oTOnWXQ9R1w8u3Oo1yA",description:"Tiles from Mapbox",attribution:"© Mapbox, OpenStreetMap",format:"jpg",type:"baselayer"};var J=Object.freeze({outdoors:H,imagery:Y}),Q=Object.freeze({digitalglobe:B,mapbox:J,esri:C,bing:x,openstreetmap:P,strava:L});e.providers=Q,e.parse=f,e.wms=M,e.wmts=S,e.parseSwitch=w,e.sample=v,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(e.slippyTile=e.slippyTile||{})}(this,function(e){"use strict";function r(e){return e=e||256,2*Math.PI*6378137/e}function t(e){u(e);var r=e[0],t=e[1],a=r*v/180,i=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return i=i*v/180,a=Number(a.toFixed(1)),i=Number(i.toFixed(1)),[a,i]}function a(e){var r=e[0],t=e[1],a=r/v*180,i=t/v*180;return i=180/Math.PI*(2*Math.atan(Math.exp(i*Math.PI/180))-Math.PI/2),a=Number(a.toFixed(6)),i=Number(i.toFixed(6)),[a,i]}function i(e,r){y(e);var t=e[0],a=e[1],i=e[2],o=h(i,r),n=t*o-v,s=a*o-v;return n=Number(n.toFixed(1)),s=Number(s.toFixed(1)),[n,s]}function o(e,r){r=r||256,g(e);var t=e[0],a=e[1],o=e[2],n=i([t*r,a*r,o]),s=i([(t+1)*r,(a+1)*r,o]);return[n[0],n[1],s[0],s[1]]}function n(e){g(e);var r=e[0],t=e[1],i=e[2];if(0===i)return[-180,-85.051129,180,85.051129];var n=o([r,t,i]),s=n[0],p=n[1],l=n[2],c=n[3],m=a([s,p,i]),d=a([l,c,i]);return[m[0],m[1],d[0],d[1]]}function s(e){var r=p(e);return n(r)}function p(e){var r=e[0],t=e[1],a=e[2],i=r,o=Math.pow(2,a)-t-1;return[i,o,a]}function l(e){var r=p(e);return c(r)}function c(e){g(e);var r=e[0],t=e[1],a=e[2];if(0===a)return"";var i="";return t=Math.pow(2,a)-1-t,b(a,0,-1).map(function(e){var a=0,o=1<<e-1;0!==(r&o)&&(a+=1),0!==(t&o)&&(a+=2),i=i.concat(a)}),i}function m(e){var r=t([e[0],e[1]]),a=t([e[2],e[3]]);return[r[0],r[1],a[0],a[1]]}function g(e){var r=e[0],t=e[1],a=e[2];if(d(a),void 0===r||null===r)throw new Error("<x> is required");if(void 0===t||null===t)throw new Error("<y> is required");if(r<0)throw new Error("<x> must not be less than 0");if(t<0)throw new Error("<y> must not be less than 0");var i=Math.pow(2,a);if(r>=i||t>=i)throw new Error("Illegal parameters for tile");return e}function d(e){if(void 0===e||null===e)throw new Error("<zoom> is required");if(e<0)throw new Error("<zoom> cannot be less than 0");if(e>30)throw new Error("<zoom> cannot be greater than 30");return e}function u(e){var r=e[0],t=e[1];if(void 0===t||null===t)throw new Error("<lat> is required");if(void 0===r||null===r)throw new Error("<lng> is required");if(t<-90||t>90)throw new Error("LngLat <lat> must be within -90 to 90 degrees");if(r<-180||r>180)throw new Error("LngLat <lng> must be within -180 to 180 degrees");return[r,t]}function y(e){return e}function h(e,t){return r(t)/Math.pow(2,e)}function b(e,r,t){null==r&&(r=e||0,e=0),t||(t=r<e?-1:1);for(var a=Math.max(Math.ceil((r-e)/t),0),i=Array(a),o=0;o<a;o++,e+=t)i[o]=e;return i}function f(e,r){var t=e[0],a=e[1],i=e[2];if(r=M(e,r),r=S(r),r=w(r),r=r.replace(/{(zoom|z|level)}/,String(i)),r=r.replace(/{(x|col)}/,String(t)),r=r.replace(/{(y|row)}/,String(a)),r.match(/{-y}/)&&(r=r.replace(/{-y}/,String(p(e)[1]))),r.match(/{(quadkey|q)}/)&&(r=r.replace(/{(quadkey|q)}/,l(e))),r.match(/{.*}/))throw new Error("Could not completly parse URL"+r);return r}function M(e,r){r=r.replace(/{height}/gi,"256"),r=r.replace(/{width}/gi,"256"),r=r.replace(/{(proj|srs|crs)}/gi,"EPSG:3857");var t;return t=r.match(/EPSG:(3857|900913)/i)?m(s(e)):s(e),r.match(/{bbox}/i)&&(r=r.replace(/{bbox}/gi,t.join(","))),r}function S(e){return e=e.replace(/{TileCol}/gi,"{x}"),e=e.replace(/{TileRow}/gi,"{y}"),e=e.replace(/{TileMatrix}/gi,"{z}"),e=e.replace(/{TileMatrixSet}/gi,"GoogleMapsCompatible"),e=e.replace(/{Style}/gi,"default")}function w(e){if(e.match(/{s}/))return e.replace(/{s}/gi,String(T(["a","b","c"])));var r=/{switch:([a-z,\d]*)}/,t=e.match(r);return t?e.replace(r,String(T(t[1].split(",")))):e}function T(e){return e[Math.floor(Math.random()*e.length)]}var v=2*Math.PI*6378137/2;const E={name:"Bing Imagery",categories:["bing","imagery","world"],url:"https://ecn.t{switch:0,1,2,3}.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=5250",description:"Tiles from Bing",attribution:"Map data © Bing",format:"jpg",type:"baselayer"};var x=Object.freeze({imagery:E}),I={name:"ESRI National Geographic World Map",categories:["esri","national","geographic","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map is designed to be used as a general reference map for informational and educational purposes as well as a basemap by GIS professionals and other users for creating web maps and web mapping applications.",attribution:"National Geographic, Esri, DeLorme, HERE, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, INCREMENT P",format:"jpg",type:"baselayer"},O={name:"ESRI Ocean Basemap",categories:["esri","ocean","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/Ocean_Basemap/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"The ocean basemap includes bathymetry, surface and subsurface feature names, and derived depths. This service is designed to be used as a basemap by marine GIS professionals and as a reference map by anyone interested in ocean data.",attribution:"Esri, GEBCO, NOAA, National Geographic, DeLorme, HERE, Geonames.org, and other contributors",format:"jpg",type:"baselayer"},N={name:"ESRI USA Topo Maps",categories:["esri","topo","topographicusa"],url:"https://services.arcgisonline.com/arcgis/rest/services/USA_Topo_Maps/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map service presents detailed USGS topographic maps for the United States at multiple scales.",attribution:"© 2011 National Geographic Society, i-cubed",format:"jpg",type:"baselayer"},G={name:"ESRI World Imagery",categories:["esri","imagery","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map service presents satellite imagery for the world and high-resolution imagery for the United States and other areas around the world.",attribution:"Esri, DigitalGlobe, Earthstar Geographics, CNES/Airbus DS, GeoEye, USDA FSA, USGS, Getmapping, Aerogrid, IGN, IGP, and the GIS User Community",format:"jpg",type:"baselayer"},j={name:"ESRI World Street Map",categories:["esri","street","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer/WMTS/tile/1.0.0/World_Topo_Map/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This map service presents highway-level data for the world and street-level data for North America, Europe, Africa, parts of the Middle East, Asia, and more.",attribution:"Esri, HERE, DeLorme, USGS, Intermap, INCREMENT P, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), MapmyIndia, © OpenStreetMap contributors, and the GIS User Community",format:"jpg",type:"baselayer"},z={name:"ESRI World Topographic Map",categories:["esri","topo","topographic","world"],url:"https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/WMTS/tile/1.0.0/World_Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg",description:"This world topographic map includes boundaries, cities, water features, physiographic features, parks, landmarks, transportation, and buildings.",attribution:"Esri, HERE, DeLorme, Intermap, INCREMENT P, GEBCO, USGS, FAO, NPS, NRCAN, GeoBase, IGN, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), swisstopo, MapmyIndia, © OpenStreetMap contributors, GIS User Community",format:"jpg",type:"baselayer"},C=Object.freeze({natgeo:I,ocean:O,usatopo:N,imagery:G,street:j,topo:z}),W={name:"OpenStreetMap Standard",categories:["openstreetmap","standard","world"],url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},R={name:"OpenStreetMap Cycle Map",categories:["openstreetmap","cycle","world"],url:"https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},A={name:"OpenStreetMap Humanitarian",categories:["openstreetmap","hot","humanitarian","world"],url:"https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},_={name:"OpenStreetMap Transport Map",categories:["openstreetmap","transport","world"],url:"https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},k={name:"OpenStreetMap Wikimedia",categories:["openstreetmap","wikimedia","world"],url:"https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png",description:"Tiles from OSM",attribution:"Map data © OSM",format:"png",type:"baselayer"},U={name:"OpenStreetMap Lyrk",categories:["openstreetmap","lyrk","world"],url:"https://tiles.lyrk.org/ls/{z}/{x}/{y}?apikey=6e8cfef737a140e2a58c8122aaa26077",description:"Tiles from OpenStreetMap",attribution:"Map data © OpenStreetMap",format:"png",type:"baselayer"},P=Object.freeze({standard:W,cycle:R,hot:A,transport:_,wikimedia:k,lyrk:U}),D={name:"Strava Cycling & Running",categories:["strava","cycling","running","world"],url:"https://globalheat.strava.com/tiles/both/color/{z}/{x}/{y}.png",description:"Tiles from Strava",attribution:"Map data © Strava",format:"png",type:"overlay"},L=Object.freeze({both:D}),q={attribution:"© DigitalGlobe, © OpenStreetMap, © Mapbox",categories:["digitalglobe","dg","imagery","street","hybrid","world"],description:"Tiles from DigitalGlobe",name:"DigitalGlobe Hybrid",format:"jpg",url:"https://{s}.tiles.mapbox.com/v4/digitalglobe.nal0mpda/{z}/{x}/{y}",type:"baselayer"},F={name:"DigitalGlobe Imagery",categories:["digitalgloble","dg","imagery","world"],url:"https://{s}.tiles.mapbox.com/v4/digitalglobe.nal0g75k/{z}/{x}/{y}",description:"Tiles from DigitalGlobe",attribution:"© DigitalGlobe",format:"jpg",type:"baselayer"},B=Object.freeze({hybrid:q,imagery:F}),H={name:"Mapbox Outdoors",categories:["mapbox","classic","outdoors","topo","world"],url:"https://{s}.tiles.mapbox.com/v4/aj.um7z9lus/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpbG10dnA3NzY3OTZ0dmtwejN2ZnUycjYifQ.1W5oTOnWXQ9R1w8u3Oo1yA",description:"Tiles from Mapbox",attribution:"© Mapbox, OpenStreetMap",format:"png",type:"overlay"},Y={name:"Mapbox Imagery",categories:["mapbox","imagery","world"],url:"https://{s}.tiles.mapbox.com/v4/openstreetmap.map-inh7ifmo/{z}/{x}/{y}.jpg?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpbG10dnA3NzY3OTZ0dmtwejN2ZnUycjYifQ.1W5oTOnWXQ9R1w8u3Oo1yA",description:"Tiles from Mapbox",attribution:"© Mapbox, OpenStreetMap",format:"jpg",type:"baselayer"},J=Object.freeze({outdoors:H,imagery:Y}),Q=Object.freeze({digitalglobe:B,mapbox:J,esri:C,bing:x,openstreetmap:P,strava:L});e.providers=Q,e.parse=f,e.wms=M,e.wmts=S,e.parseSwitch=w,e.sample=T,Object.defineProperty(e,"__esModule",{value:!0})}); |
@@ -374,3 +374,3 @@ var originShift = 2 * Math.PI * 6378137 / 2.0; | ||
const natgeo = { | ||
var natgeo = { | ||
name: 'ESRI National Geographic World Map', | ||
@@ -390,3 +390,3 @@ categories: [ | ||
const ocean = { | ||
var ocean = { | ||
name: 'ESRI Ocean Basemap', | ||
@@ -405,3 +405,3 @@ categories: [ | ||
const usatopo = { | ||
var usatopo = { | ||
name: 'ESRI USA Topo Maps', | ||
@@ -420,3 +420,3 @@ categories: [ | ||
const imagery$1 = { | ||
var imagery$1 = { | ||
name: 'ESRI World Imagery', | ||
@@ -435,3 +435,3 @@ categories: [ | ||
const street = { | ||
var street = { | ||
name: 'ESRI World Street Map', | ||
@@ -450,3 +450,3 @@ categories: [ | ||
const topo = { | ||
var topo = { | ||
name: 'ESRI World Topographic Map', | ||
@@ -476,3 +476,3 @@ categories: [ | ||
const standard = { | ||
var standard = { | ||
name: 'OpenStreetMap Standard', | ||
@@ -491,3 +491,3 @@ categories: [ | ||
const cycle = { | ||
var cycle = { | ||
name: 'OpenStreetMap Cycle Map', | ||
@@ -506,3 +506,3 @@ categories: [ | ||
const hot = { | ||
var hot = { | ||
name: 'OpenStreetMap Humanitarian', | ||
@@ -522,3 +522,3 @@ categories: [ | ||
const transport = { | ||
var transport = { | ||
name: 'OpenStreetMap Transport Map', | ||
@@ -537,3 +537,3 @@ categories: [ | ||
const wikimedia = { | ||
var wikimedia = { | ||
name: 'OpenStreetMap Wikimedia', | ||
@@ -552,3 +552,3 @@ categories: [ | ||
const lyrk = { | ||
var lyrk = { | ||
name: 'OpenStreetMap Lyrk', | ||
@@ -577,3 +577,3 @@ categories: [ | ||
const both = { | ||
var both = { | ||
name: 'Strava Cycling & Running', | ||
@@ -598,3 +598,3 @@ categories: [ | ||
const hybrid = { | ||
var hybrid = { | ||
attribution: '© DigitalGlobe, © OpenStreetMap, © Mapbox', | ||
@@ -616,3 +616,3 @@ categories: [ | ||
const imagery$2 = { | ||
var imagery$2 = { | ||
name: 'DigitalGlobe Imagery', | ||
@@ -638,3 +638,3 @@ categories: [ | ||
const outdoors = { | ||
var outdoors = { | ||
name: 'Mapbox Outdoors', | ||
@@ -655,3 +655,3 @@ categories: [ | ||
const imagery$3 = { | ||
var imagery$3 = { | ||
name: 'Mapbox Imagery', | ||
@@ -658,0 +658,0 @@ categories: [ |
@@ -378,3 +378,3 @@ 'use strict'; | ||
const natgeo = { | ||
var natgeo = { | ||
name: 'ESRI National Geographic World Map', | ||
@@ -394,3 +394,3 @@ categories: [ | ||
const ocean = { | ||
var ocean = { | ||
name: 'ESRI Ocean Basemap', | ||
@@ -409,3 +409,3 @@ categories: [ | ||
const usatopo = { | ||
var usatopo = { | ||
name: 'ESRI USA Topo Maps', | ||
@@ -424,3 +424,3 @@ categories: [ | ||
const imagery$1 = { | ||
var imagery$1 = { | ||
name: 'ESRI World Imagery', | ||
@@ -439,3 +439,3 @@ categories: [ | ||
const street = { | ||
var street = { | ||
name: 'ESRI World Street Map', | ||
@@ -454,3 +454,3 @@ categories: [ | ||
const topo = { | ||
var topo = { | ||
name: 'ESRI World Topographic Map', | ||
@@ -480,3 +480,3 @@ categories: [ | ||
const standard = { | ||
var standard = { | ||
name: 'OpenStreetMap Standard', | ||
@@ -495,3 +495,3 @@ categories: [ | ||
const cycle = { | ||
var cycle = { | ||
name: 'OpenStreetMap Cycle Map', | ||
@@ -510,3 +510,3 @@ categories: [ | ||
const hot = { | ||
var hot = { | ||
name: 'OpenStreetMap Humanitarian', | ||
@@ -526,3 +526,3 @@ categories: [ | ||
const transport = { | ||
var transport = { | ||
name: 'OpenStreetMap Transport Map', | ||
@@ -541,3 +541,3 @@ categories: [ | ||
const wikimedia = { | ||
var wikimedia = { | ||
name: 'OpenStreetMap Wikimedia', | ||
@@ -556,3 +556,3 @@ categories: [ | ||
const lyrk = { | ||
var lyrk = { | ||
name: 'OpenStreetMap Lyrk', | ||
@@ -581,3 +581,3 @@ categories: [ | ||
const both = { | ||
var both = { | ||
name: 'Strava Cycling & Running', | ||
@@ -602,3 +602,3 @@ categories: [ | ||
const hybrid = { | ||
var hybrid = { | ||
attribution: '© DigitalGlobe, © OpenStreetMap, © Mapbox', | ||
@@ -620,3 +620,3 @@ categories: [ | ||
const imagery$2 = { | ||
var imagery$2 = { | ||
name: 'DigitalGlobe Imagery', | ||
@@ -642,3 +642,3 @@ categories: [ | ||
const outdoors = { | ||
var outdoors = { | ||
name: 'Mapbox Outdoors', | ||
@@ -659,3 +659,3 @@ categories: [ | ||
const imagery$3 = { | ||
var imagery$3 = { | ||
name: 'Mapbox Imagery', | ||
@@ -662,0 +662,0 @@ categories: [ |
{ | ||
"name": "slippy-tile", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "Helps convert Slippy Map url tile schemas", | ||
@@ -5,0 +5,0 @@ "main": "dist/slippy-tile.js", |
@@ -1,2 +0,2 @@ | ||
export const hybrid = { | ||
export var hybrid = { | ||
attribution: '© DigitalGlobe, © OpenStreetMap, © Mapbox', | ||
@@ -18,3 +18,3 @@ categories: [ | ||
export const imagery = { | ||
export var imagery = { | ||
name: 'DigitalGlobe Imagery', | ||
@@ -21,0 +21,0 @@ categories: [ |
@@ -1,2 +0,2 @@ | ||
export const natgeo = { | ||
export var natgeo = { | ||
name: 'ESRI National Geographic World Map', | ||
@@ -16,3 +16,3 @@ categories: [ | ||
export const ocean = { | ||
export var ocean = { | ||
name: 'ESRI Ocean Basemap', | ||
@@ -31,3 +31,3 @@ categories: [ | ||
export const usatopo = { | ||
export var usatopo = { | ||
name: 'ESRI USA Topo Maps', | ||
@@ -46,3 +46,3 @@ categories: [ | ||
export const imagery = { | ||
export var imagery = { | ||
name: 'ESRI World Imagery', | ||
@@ -61,3 +61,3 @@ categories: [ | ||
export const street = { | ||
export var street = { | ||
name: 'ESRI World Street Map', | ||
@@ -76,3 +76,3 @@ categories: [ | ||
export const topo = { | ||
export var topo = { | ||
name: 'ESRI World Topographic Map', | ||
@@ -79,0 +79,0 @@ categories: [ |
@@ -1,2 +0,2 @@ | ||
export const outdoors = { | ||
export var outdoors = { | ||
name: 'Mapbox Outdoors', | ||
@@ -17,3 +17,3 @@ categories: [ | ||
export const imagery = { | ||
export var imagery = { | ||
name: 'Mapbox Imagery', | ||
@@ -20,0 +20,0 @@ categories: [ |
@@ -1,2 +0,2 @@ | ||
export const standard = { | ||
export var standard = { | ||
name: 'OpenStreetMap Standard', | ||
@@ -15,3 +15,3 @@ categories: [ | ||
export const cycle = { | ||
export var cycle = { | ||
name: 'OpenStreetMap Cycle Map', | ||
@@ -30,3 +30,3 @@ categories: [ | ||
export const hot = { | ||
export var hot = { | ||
name: 'OpenStreetMap Humanitarian', | ||
@@ -46,3 +46,3 @@ categories: [ | ||
export const transport = { | ||
export var transport = { | ||
name: 'OpenStreetMap Transport Map', | ||
@@ -61,3 +61,3 @@ categories: [ | ||
export const wikimedia = { | ||
export var wikimedia = { | ||
name: 'OpenStreetMap Wikimedia', | ||
@@ -76,3 +76,3 @@ categories: [ | ||
export const lyrk = { | ||
export var lyrk = { | ||
name: 'OpenStreetMap Lyrk', | ||
@@ -79,0 +79,0 @@ categories: [ |
@@ -1,2 +0,2 @@ | ||
export const both = { | ||
export var both = { | ||
name: 'Strava Cycling & Running', | ||
@@ -3,0 +3,0 @@ categories: [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237888