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.0 KiB
JavaScript
2 lines
1.0 KiB
JavaScript
2 weeks ago
|
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[553],{35049:function(e,t,n){var r=n(8768),o=n(41376),c=n(18626),i=n(42010),s=n(14197),w=n(28083),l=n(54354),a=n(69039),u=n(77975),f=n(720),Z=n(40729),m=new a.ZP({fill:new u.Z({color:"rgba(255, 255, 255, 0.6)"}),stroke:new f.Z({color:"#319FD3",width:1}),text:new Z.Z({font:"12px Calibri,sans-serif",fill:new u.Z({color:"#000"}),stroke:new f.Z({color:"#fff",width:3})})}),g=new s.Z({declutter:!0,source:new w.Z({maxZoom:15,format:new r.Z,url:"https://ahocevar.com/geoserver/gwc/service/tms/1.0.0/ne:ne_10m_admin_0_countries@EPSG%3A900913@pbf/{z}/{x}/{-y}.pbf"}),style:function(e){return m.getText().setText(e.get("name")),m}}),p=new i.Z({source:new c.Z({template:"z:{z} x:{x} y:{-y}",projection:g.getSource().getProjection(),tileGrid:g.getSource().getTileGrid(),zDirection:1})});new o.Z({layers:[g,p],target:"map",view:new l.ZP({center:[0,6e6],zoom:4})})}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(35049)}]);
|
||
|
//# sourceMappingURL=canvas-tiles-tms.js.map
|