You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
1.1 KiB
JavaScript
2 lines
1.1 KiB
JavaScript
2 weeks ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[96],{326:function(e,t,a){"use strict";a.r(t);for(var r=a(103),o=a(3),n=a(82),p=a(94),i=a(88),s=a(2),c=a(11),w=a(21),b=a(15),m=a(76),l=a(67),u=a(4),h=[],x=0;x<=8;++x)h.push(156543.03392804097/Math.pow(2,2*x));new o.a({layers:[new p.a({source:new i.a({attributions:'© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>',format:new r.a,tileGrid:new n.a({extent:Object(u.j)("EPSG:3857").getExtent(),resolutions:h,tileSize:512}),tileUrlFunction:function(e){return"https://{a-d}.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6/{z}/{x}/{y}.vector.pbf?access_token=pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2pzbmg0Nmk5MGF5NzQzbzRnbDNoeHJrbiJ9.7_-_gL8ur7ZtEiNwRfCy7Q".replace("{z}",String(2*e[0]-1)).replace("{x}",String(e[1])).replace("{y}",String(e[2])).replace("{a-d}","abcd".substr(((e[1]<<e[0])+e[2])%4,1))}}),style:createMapboxStreetsV6Style(c.c,w.a,b.a,m.a,l.a)})],target:"map",view:new s.a({center:[0,0],minZoom:1,zoom:2})})}},[[326,0]]]);
|
||
|
//# sourceMappingURL=mapbox-vector-tiles-advanced.js.map
|