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.2 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[218],{91078:function(e,t,r){for(var n=r(8768),a=r(41376),o=r(15492),c=r(14197),p=r(28083),s=r(54354),i=r(69039),b=r(77975),u=r(720),w=r(24598),l=r(40729),h=r(12810),m=[],f=0;f<=8;++f)m.push(156543.03392804097/Math.pow(2,2*f));new a.Z({layers:[new c.Z({source:new p.Z({attributions:'© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>',format:new n.Z,tileGrid:new o.Z({extent:(0,h.U2)("EPSG:3857").getExtent(),resolutions:m,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.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2t0cGdwMHVnMGdlbzMxbDhwazBic2xrNSJ9.WbcTL9uj8JPAsnT9mgb7oQ".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(i.ZP,b.Z,u.Z,w.Z,l.Z)})],target:"map",view:new s.ZP({center:[0,0],minZoom:1,zoom:2})})}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(91078)}]);
//# sourceMappingURL=mapbox-vector-tiles-advanced.js.map