1.7.0
This commit is contained in:
7 files changed
+16
-15
No files matched your search
+10
-10
@@ -1,11 +1,11 @@
|
||||
const C3=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))Z(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&Z(i)}).observe(document,{childList:!0,subtree:!0});function T(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function Z(e){if(e.ep)return;e.ep=!0;const r=T(e);fetch(e.href,r)}};C3();function A(){return function(){throw new Error("Unimplemented abstract method.")}()}var x3=0;function z(n){return n.ol_uid||(n.ol_uid=String(++x3))}var w3="6.15.1",O3=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),R3=function(n){O3(t,n);function t(T){var Z=this,e="v"+w3.split("-")[0],r="Assertion failed. See https://openlayers.org/en/"+e+"/doc/errors/#"+T+" for details.";return Z=n.call(this,r)||this,Z.code=T,Z.name="AssertionError",Z.message=r,Z}return t}(Error);const K7=R3;var S3=function(){function n(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}return n.prototype.preventDefault=function(){this.defaultPrevented=!0},n.prototype.stopPropagation=function(){this.propagationStopped=!0},n}();const V1=S3,U2={PROPERTYCHANGE:"propertychange"};var I3=function(){function n(){this.disposed=!1}return n.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},n.prototype.disposeInternal=function(){},n}();const _5=I3;function P3(n,t,T){for(var Z,e,r=T||x2,i=0,o=n.length,a=!1;i<o;)Z=i+(o-i>>1),e=+r(n[Z],t),e<0?i=Z+1:(o=Z,a=!e);return a?i:~i}function x2(n,t){return n>t?1:n<t?-1:0}function y5(n,t,T){var Z=n.length;if(n[0]<=t)return 0;if(t<=n[Z-1])return Z-1;var e=void 0;if(T>0){for(e=1;e<Z;++e)if(n[e]<t)return e-1}else if(T<0){for(e=1;e<Z;++e)if(n[e]<=t)return e}else for(e=1;e<Z;++e){if(n[e]==t)return e;if(n[e]<t)return typeof T=="function"?T(t,n[e-1],n[e])>0?e-1:e:n[e-1]-t<t-n[e]?e-1:e}return Z-1}function L3(n,t,T){for(;t<T;){var Z=n[t];n[t]=n[T],n[T]=Z,++t,--T}}function B1(n,t){for(var T=Array.isArray(t)?t:[t],Z=T.length,e=0;e<Z;e++)n[n.length]=T[e]}function R2(n,t){var T=n.length;if(T!==t.length)return!1;for(var Z=0;Z<T;Z++)if(n[Z]!==t[Z])return!1;return!0}function A3(n,t,T){var Z=t||x2;return n.every(function(e,r){if(r===0)return!0;var i=Z(n[r-1],e);return!(i>0||T&&i===0)})}function W2(){return!0}function g4(){return!1}function w2(){}function M3(n){var t=!1,T,Z,e;return function(){var r=Array.prototype.slice.call(arguments);return(!t||this!==e||!R2(r,Z))&&(t=!0,e=this,Z=r,T=n.apply(this,arguments)),T}}var e1=typeof Object.assign=="function"?Object.assign:function(n,t){if(n==null)throw new TypeError("Cannot convert undefined or null to object");for(var T=Object(n),Z=1,e=arguments.length;Z<e;++Z){var r=arguments[Z];if(r!=null)for(var i in r)r.hasOwnProperty(i)&&(T[i]=r[i])}return T};function P0(n){for(var t in n)delete n[t]}var V7=typeof Object.values=="function"?Object.values:function(n){var t=[];for(var T in n)t.push(n[T]);return t};function K2(n){var t;for(t in n)return!1;return!t}var F3=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),D3=function(n){F3(t,n);function t(T){var Z=n.call(this)||this;return Z.eventTarget_=T,Z.pendingRemovals_=null,Z.dispatching_=null,Z.listeners_=null,Z}return t.prototype.addEventListener=function(T,Z){if(!(!T||!Z)){var e=this.listeners_||(this.listeners_={}),r=e[T]||(e[T]=[]);r.indexOf(Z)===-1&&r.push(Z)}},t.prototype.dispatchEvent=function(T){var Z=typeof T=="string",e=Z?T:T.type,r=this.listeners_&&this.listeners_[e];if(!!r){var i=Z?new V1(T):T;i.target||(i.target=this.eventTarget_||this);var o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});e in o||(o[e]=0,a[e]=0),++o[e];for(var s,l=0,h=r.length;l<h;++l)if("handleEvent"in r[l]?s=r[l].handleEvent(i):s=r[l].call(this,i),s===!Line truncated
|
||||
`))?(P0(u5),b2=null,l5=void 0,X1.set(c,n)):(X1.set(c,X1.get(c)+1,!0),s=!1))}s&&(clearInterval(r),r=void 0)}return function(s){var l=F8(s);if(!!l)for(var h=l.families,u=0,c=h.length;u<c;++u){var f=h[u],p=l.style+`
|
||||
const x3=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))Z(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&Z(i)}).observe(document,{childList:!0,subtree:!0});function T(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function Z(e){if(e.ep)return;e.ep=!0;const r=T(e);fetch(e.href,r)}};x3();function F(){return function(){throw new Error("Unimplemented abstract method.")}()}var w3=0;function z(n){return n.ol_uid||(n.ol_uid=String(++w3))}var O3="6.15.1",R3=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),S3=function(n){R3(t,n);function t(T){var Z=this,e="v"+O3.split("-")[0],r="Assertion failed. See https://openlayers.org/en/"+e+"/doc/errors/#"+T+" for details.";return Z=n.call(this,r)||this,Z.code=T,Z.name="AssertionError",Z.message=r,Z}return t}(Error);const V7=S3;var I3=function(){function n(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}return n.prototype.preventDefault=function(){this.defaultPrevented=!0},n.prototype.stopPropagation=function(){this.propagationStopped=!0},n}();const V1=I3,U2={PROPERTYCHANGE:"propertychange"};var P3=function(){function n(){this.disposed=!1}return n.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},n.prototype.disposeInternal=function(){},n}();const _5=P3;function L3(n,t,T){for(var Z,e,r=T||x2,i=0,o=n.length,a=!1;i<o;)Z=i+(o-i>>1),e=+r(n[Z],t),e<0?i=Z+1:(o=Z,a=!e);return a?i:~i}function x2(n,t){return n>t?1:n<t?-1:0}function y5(n,t,T){var Z=n.length;if(n[0]<=t)return 0;if(t<=n[Z-1])return Z-1;var e=void 0;if(T>0){for(e=1;e<Z;++e)if(n[e]<t)return e-1}else if(T<0){for(e=1;e<Z;++e)if(n[e]<=t)return e}else for(e=1;e<Z;++e){if(n[e]==t)return e;if(n[e]<t)return typeof T=="function"?T(t,n[e-1],n[e])>0?e-1:e:n[e-1]-t<t-n[e]?e-1:e}return Z-1}function A3(n,t,T){for(;t<T;){var Z=n[t];n[t]=n[T],n[T]=Z,++t,--T}}function B1(n,t){for(var T=Array.isArray(t)?t:[t],Z=T.length,e=0;e<Z;e++)n[n.length]=T[e]}function R2(n,t){var T=n.length;if(T!==t.length)return!1;for(var Z=0;Z<T;Z++)if(n[Z]!==t[Z])return!1;return!0}function M3(n,t,T){var Z=t||x2;return n.every(function(e,r){if(r===0)return!0;var i=Z(n[r-1],e);return!(i>0||T&&i===0)})}function W2(){return!0}function g4(){return!1}function w2(){}function F3(n){var t=!1,T,Z,e;return function(){var r=Array.prototype.slice.call(arguments);return(!t||this!==e||!R2(r,Z))&&(t=!0,e=this,Z=r,T=n.apply(this,arguments)),T}}var e1=typeof Object.assign=="function"?Object.assign:function(n,t){if(n==null)throw new TypeError("Cannot convert undefined or null to object");for(var T=Object(n),Z=1,e=arguments.length;Z<e;++Z){var r=arguments[Z];if(r!=null)for(var i in r)r.hasOwnProperty(i)&&(T[i]=r[i])}return T};function P0(n){for(var t in n)delete n[t]}var $7=typeof Object.values=="function"?Object.values:function(n){var t=[];for(var T in n)t.push(n[T]);return t};function K2(n){var t;for(t in n)return!1;return!t}var D3=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),N3=function(n){D3(t,n);function t(T){var Z=n.call(this)||this;return Z.eventTarget_=T,Z.pendingRemovals_=null,Z.dispatching_=null,Z.listeners_=null,Z}return t.prototype.addEventListener=function(T,Z){if(!(!T||!Z)){var e=this.listeners_||(this.listeners_={}),r=e[T]||(e[T]=[]);r.indexOf(Z)===-1&&r.push(Z)}},t.prototype.dispatchEvent=function(T){var Z=typeof T=="string",e=Z?T:T.type,r=this.listeners_&&this.listeners_[e];if(!!r){var i=Z?new V1(T):T;i.target||(i.target=this.eventTarget_||this);var o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});e in o||(o[e]=0,a[e]=0),++o[e];for(var s,l=0,h=r.length;l<h;++l)if("handleEvent"in r[l]?s=r[l].handleEvent(i):s=r[l].call(this,i),s===!Line truncated
|
||||
`))?(P0(u5),b2=null,l5=void 0,X1.set(c,n)):(X1.set(c,X1.get(c)+1,!0),s=!1))}s&&(clearInterval(r),r=void 0)}return function(s){var l=D8(s);if(!!l)for(var h=l.families,u=0,c=h.length;u<c;++u){var f=h[u],p=l.style+`
|
||||
`+l.weight+`
|
||||
`+f;X1.get(p)===void 0&&(X1.set(p,n,!0),o(l.style,l.weight,f)||(X1.set(p,0,!0),r===void 0&&(r=setInterval(a,32))))}}}(),R6=function(){var n;return function(t){var T=u5[t];if(T==null){if(y4){var Z=F8(t),e=N8(t,"\u017Dg"),r=isNaN(Number(Z.lineHeight))?1.2:Number(Z.lineHeight);T=r*(e.actualBoundingBoxAscent+e.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=t,document.body.appendChild(n),T=n.offsetHeight,document.body.removeChild(n);u5[t]=T}return T}}();function N8(n,t){return b2||(b2=g1(1,1)),n!=l5&&(b2.font=n,l5=b2.font),b2.measureText(t)}function f4(n,t){return N8(n,t).width}function m7(n,t,T){if(t in T)return T[t];var Z=t.split(`
|
||||
`).reduce(function(e,r){return Math.max(e,f4(n,r))},0);return T[t]=Z,Z}function S6(n,t){for(var T=[],Z=[],e=[],r=0,i=0,o=0,a=0,s=0,l=t.length;s<=l;s+=2){var h=t[s];if(h===`
|
||||
`||s===l){r=Math.max(r,i),e.push(i),i=0,o+=a;continue}var u=t[s+1]||n.font,c=f4(u,h);T.push(c),i+=c;var f=R6(u);Z.push(f),a=Math.max(a,f)}return{width:r,height:o,widths:T,heights:Z,lineWidths:e}}function I6(n,t,T,Z,e,r,i,o,a,s,l){n.save(),T!==1&&(n.globalAlpha*=T),t&&n.setTransform.apply(n,t),Z.contextInstructions?(n.translate(a,s),n.scale(l[0],l[1]),P6(Z,n)):l[0]<0||l[1]<0?(n.translate(a,s),n.scale(l[0],l[1]),n.drawImage(Z,e,r,i,o,0,0,i,o)):n.drawImage(Z,e,r,i,o,a,s,i*l[0],o*l[1]),n.restore()}function P6(n,t){for(var T=n.contextInstructions,Z=0,e=T.length;Z<e;Z+=2)Array.isArray(T[Z+1])?t[T[Z]].apply(t,T[Z+1]):t[T[Z]]=T[Z+1]}var L6=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),A6=function(n){L6(t,n);function t(T){var Z=this,e=T.rotateWithView!==void 0?T.rotateWithView:!1;return Z=n.call(this,{opacity:1,rotateWithView:e,rotation:T.rotation!==void 0?T.rotation:0,scale:T.scale!==void 0?T.scale:1,displacement:T.displacement!==void 0?T.displacement:[0,0],declutterMode:T.declutterMode})||this,Z.canvas_=void 0,Z.hitDetectionCanvas_=null,Z.fill_=T.fill!==void 0?T.fill:null,Z.origin_=[0,0],Z.points_=T.points,Z.radius_=T.radius!==void 0?T.radius:T.radius1,Z.radius2_=T.radius2,Z.angle_=T.angle!==void 0?T.angle:0,Z.stroke_=T.stroke!==void 0?T.stroke:null,Z.size_=null,Z.renderOptions_=null,Z.render(),Z}return t.prototype.clone=function(){var T=this.getScale(),Z=new t({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(T)?T.slice():T,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return Z.setOpacity(this.getOpacity()),Z},t.prototype.getAnchor=function(){var T=this.size_;if(!T)return null;var Z=this.getDisplacement();return[T[0]/2-Z[0],T[1]/2+Z[1]]},t.prototype.getAngle=function(){return this.angle_},t.prototype.getFill=function(){return this.fill_},t.prototype.setFill=function(T){this.fill_=T,this.render()},t.prototype.getHitDetectionImage=function(){return this.hitDetectionCanvas_||this.createHitDetectionCanvas_(this.renderOptions_),this.hitDetectionCanvas_},t.prototype.getImage=function(T){var Z=this.canvas_[T];if(!Z){var e=this.renderOptions_,r=g1(e.size*T,e.size*T);this.draw_(e,r,T),Z=r.canvas,this.canvas_[T]=Z}return Z},t.prototype.getPixelRatio=function(T){return T},t.prototype.getImageSize=function(){return this.size_},t.prototype.getImageState=function(){return $.LOADED},t.prototype.getOrigin=function(){return this.origin_},t.prototype.getPoints=function(){return this.points_},t.prototype.getRadius=function(){return this.radius_},t.prototype.getRadius2=function(){return this.radius2_},t.prototype.getSize=function(){return this.size_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.setStroke=function(T){this.stroke_=T,this.render()},t.prototype.listenImageChange=function(T){},t.prototype.load=function(){},t.prototype.unlistenImageChange=function(T){},t.prototype.calculateLineJoinSize_=function(T,Z,e){if(Z===0||this.points_===1/0||T!=="bevel"&&T!=="miter")return Z;var r=this.radius_,i=this.radius2_===void 0?r:this.radius2_;if(r<i){var o=r;r=i,i=o}var a=this.radius2_===void 0?this.points_:this.points_*2,s=2*Math.PI/a,l=i*Math.sin(s),h=Math.sqrt(i*i-l*l),u=r-h,c=Math.sqrt(l*l+u*u),f=c/l;if(T==="miter"&&f<=e)return f*Z;var p=Z/2/f,d=Z/2*(u/c),g=Math.sqrt((r+p)*(r+p)+d*d),v=g-r;if(this.radius2_===void 0||T==="bevel")return v*2;var _=r*Math.sin(s),y=Math.sqrt(r*r-_*_),m=i-y,C=Math.sqrt(_*_+m*m),E=C/_;if(E<=e){var w=E*Z/2-i-r;return 2*Math.max(v,w)}return v*2},t.prototype.createRenderOptions=function(){var T=V2,Z=0,e=null,r=0,i,o=0;this.stroke_&&(i=this.stroke_.getColor(),i===null&&(i=R0),i=M1(i),o=this.stroke_.getWidth(),o===void 0&&(o=I0),e=this.stroke_.getLineDash(),r=this.stroke_.getLineDashOffset(),T=this.stroke_.getLineJoin(),T===void 0&&(T=V2),Z=this.stroke_.getMiterLimit(),Z===void 0&&(Z=O0));var a=this.calculateLineJoinSize_(T,o,Z),s=Math.max(this.radius_,this.radius2_||0),l=Math.ceil(2*s+a);return{strokeStyle:i,strokeWidth:o,size:l,lineDash:e,lineDashOffset:r,lineJoin:T,miterLimit:Z}},t.prototype.render=function(){this.renderOptions_=this.createRenderOptions();var T=this.renderOptions_.size;this.canvas_={},this.size_=[T,T]},t.prototype.draw_=function(T,Z,e){if(Z.scale(e,e),Z.translate(T.size/2,T.size/2),this.createPath_(Z),this.fill_){var r=this.fill_.getColor();r===null
Line truncated
|
||||
`,""),n.push(t,""),n}var RT=function(){function n(t,T,Z,e){this.overlaps=Z,this.pixelRatio=T,this.resolution=t,this.alignFill_,this.instructions=e.instructions,this.coordinates=e.coordinates,this.coordinateCache_={},this.renderedTransform_=F1(),this.hitDetectionInstructions=e.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=e.fillStates||{},this.strokeStates=e.strokeStates||{},this.textStates=e.textStates||{},this.widths_={},this.labels_={}}return n.prototype.createLabel=function(t,T,Z,e){var r=t+T+Z+e;if(this.labels_[r])return this.labels_[r];var i=e?this.strokeStates[e]:null,o=Z?this.fillStates[Z]:null,a=this.textStates[T],s=this.pixelRatio,l=[a.scale[0]*s,a.scale[1]*s],h=Array.isArray(t),u=a.justify?_0[a.justify]:P7(Array.isArray(t)?t[0]:t,a.textAlign||S0),c=e&&i.lineWidth?i.lineWidth:0,f=h?t:t.split(`
|
||||
`).reduce(OT,[]),p=S6(a,f),d=p.width,g=p.height,v=p.widths,_=p.heights,y=p.lineWidths,m=d+c,C=[],E=(m+2)*l[0],w=(g+c)*l[1],O={width:E<0?Math.floor(E):Math.ceil(E),height:w<0?Math.floor(w):Math.ceil(w),contextInstructions:C};if((l[0]!=1||l[1]!=1)&&C.push("scale",l),e){C.push("strokeStyle",i.strokeStyle),C.push("lineWidth",c),C.push("lineCap",i.lineCap),C.push("lineJoin",i.lineJoin),C.push("miterLimit",i.miterLimit);var R=y4?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;R.prototype.setLineDash&&(C.push("setLineDash",[i.lineDash]),C.push("lineDashOffset",i.lineDashOffset))}Z&&C.push("fillStyle",o.fillStyle),C.push("textBaseline","middle"),C.push("textAlign","center");for(var S=.5-u,M=u*m+S*c,I=[],b=[],j=0,F=0,P=0,L=0,Y,W=0,K=f.length;W<K;W+=2){var x=f[W];if(x===`
|
||||
`){F+=j,j=0,M=u*m+S*c,++L;continue}var Q=f[W+1]||a.font;Q!==Y&&(e&&I.push("font",Q),Z&&b.push("font",Q),Y=Q),j=Math.max(j,_[P]);var V=[x,M+S*v[P]+u*(v[P]-y[L]),.5*(c+j)+F];M+=v[P],e&&I.push("strokeText",V),Z&&b.push("fillText",V),++P}return Array.prototype.push.apply(C,I),Array.prototype.push.apply(C,b),this.labels_[r]=O,O},n.prototype.replayTextBackground_=function(t,T,Z,e,r,i,o){t.beginPath(),t.moveTo.apply(t,T),t.lineTo.apply(t,Z),t.lineTo.apply(t,e),t.lineTo.apply(t,r),t.lineTo.apply(t,T),i&&(this.alignFill_=i[2],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())},n.prototype.calculateImageOrLabelDimensions_=function(t,T,Z,e,r,i,o,a,s,l,h,u,c,f,p,d){o*=u[0],a*=u[1];var g=Z-o,v=e-a,_=r+s>t?t-s:r,y=i+l>T?T-l:i,m=f[3]+_*u[0]+f[1],C=f[0]+y*u[1]+f[2],E=g-f[3],w=v-f[0];(p||h!==0)&&(J1[0]=E,Q1[0]=E,J1[1]=w,G1[1]=w,G1[0]=E+m,b1[0]=G1[0],b1[1]=w+C,Q1[1]=b1[1]);var O;return h!==0?(O=K1(F1(),Z,e,1,1,h,-Z,-e),t1(O,J1),t1(O,G1),t1(O,b1),t1(O,Q1),D1(Math.min(J1[0],G1[0],b1[0],Q1[0]),Math.min(J1[1],G1[1],b1[1],Q1[1]),Math.max(J1[0],G1[0],b1[0],Q1[0]),Math.max(J1[1],G1[1],b1[1],Q1[1]),N2)):D1(Math.min(E,E+m),Math.min(w,w+C),Math.max(E,E+m),Math.max(w,w+C),N2),c&&(g=Math.round(g),v=Math.round(v)),{drawImageX:g,drawImageY:v,drawImageW:_,drawImageH:y,originX:s,originY:l,declutterBox:{minX:N2[0],minY:N2[1],maxX:N2[2],maxY:N2[3],value:d},canvasTransform:O,scale:u}},n.prototype.replayImageOrLabel_=function(t,T,Z,e,r,i,o){var a=!!(i||o),s=e.declutterBox,l=t.canvas,h=o?o[2]*e.scale[0]/2:0,u=s.minX-h<=l.width/T&&s.maxX+h>=0&&s.minY-h<=l.height/T&&s.maxY+h>=0;return u&&(a&&this.replayTextBackground_(t,J1,G1,b1,Q1,i,o),I6(t,e.canvasTransform,r,Z,e.originX,e.originY,e.drawImageW,e.drawImageH,e.drawImageX,e.drawImageY,e.scale)),!0},n.prototype.fill_=function(t){if(this.alignFill_){var T=t1(this.renderedTransform_,[0,0]),Z=512*this.pixelRatio;t.save(),t.translate(T[0]%Z,T[1]%Z),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()},n.prototype.setStrokeStyle_=function(t,T){t.strokeStyle=T[1],t.lineWidth=T[2],t.lineCap=T[3],t.lineJoin=T[4],t.miterLimit=T[5],t.setLineDash&&(t.lineDashOffset=T[7],t.setLineDash(T[6]))},n.prototype.drawLabelWithPointPlacement_=function(t,T,Z,e){var r=this.textStates[T],i=this.createLabel(t,T,e,Z),o=this.strokeStates[Z],a=this.pixelRatio,s=P7(Array.isArray(t)?t[0]:t,r.textAlign||S0),l=_0[r.textBaseline||c4],h=o&&o.lineWidth?o.lineWidth:0,u=i.width/a-2*r.scale[0],c=s*u+2*(.5-s)*h,f=l*i.height/a+2*(.5-l)*h;return{label:i,anchorX:c,anchorY:f}},n.prototype.execute_=function(t,T,Z,e,r,i,o,a){var s;this.pixelCoordinates_&&R2(Z,this.renderedTransform_)?s=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),s=C2(this.coordinates,0,this.coordinates.length,2,Z,this.pixelCoordinates_),$3(this.renderedTransform_,Z));for(var l=0,h=e.length,u=0,c,f,p,d,g,v,_,y,m,C,E,w,O=0,R=0,S=null,M=null,I=this.coordinateCache_,b=this.viewRotation_,j=Math.round(Math.atan2(-Z[1],Z[0])*1e12)/1e12,F={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:b},P=this.instructions!=e||this.overlaps?0:200,L,Y,W,K;l<h;){var x=e[l],Q=x[0];switch(Q){case D.BEGIN_GEOMETRY:L=x[1],K=x[3],L.getGeometry()?o!==void 0&&!d1(o,K.getExtent())?l=x[2]+1:++l:l=x[2];break;case D.BEGIN_PATH:O>P&&(this.fill_(t),O=0),R>P&&(t.stroke(),R=0),!O&&!R&&(t.beginPath(),d=NaN,g=NaN),++l;break;case D.CIRCLE:u=x[1];var V=s[u],k=s[u+1],i1=s[u+2],c1=s[u+3],o1=i1-V,L2=c1-k,v1=Math.sqrt(o1*o1+L2*L2);t.moveTo(V+v1,k),t.arc(V,k,v1,0,2*Math.PI,!0),++l;break;case D.CLOSE_PATH:t.closePath(),++l;break;case D.CUSTOM:u=x[1],c=x[2];var J2=x[3],P1=x[4],Q2=x.length==6?x[5]:void 0;F.geometry=J2,F.feature=L,l in I||(I[l]=[]);var l2=I[l];Q2?Q2(s,u,c,2,l2):(l2[0]=s[u],l2[1]=s[u+1],l2.length=2),P1(l2,F),++l;break;case D.DRAW_IMAGE:u=x[1],c=x[2],y=x[3],f=x[4],p=x[5];var A2=x[6],b0=x[7],j0=x[8],T0=x[9],Z0=x[10],$1=x[11],L4=x[12],u2=x[13],k0=x[14],H1=x[15];if(!y&&x.length>=20){m=x[19],C=x[20],E=x[21],w=x[22];var M2=this.drawLabelWithPointPlacement_(m,C,E,w);y=M2.label,x[3]=y;var A4=x[23];f=(M2.anchorX-A4)*this.pixelRatio,x[4]=f;var X0=x[24];p=(M2.anchorY-X0)*this.pixelRatio,x[5]=p,A2=y.height,x[6]=A2,u2=y.width,x[13]=u2}var t0=void 0;x.length>25&&(t0=x[25]);var N1=void 0,L1=void 0,h2=void 0;x.length>17?(N1=x[16],L1=x[17],h2=x[18]):(N1=y2,L1=!1,h2=!1),Z0&&j?$1+=b:!Z0&&!j&&($1-=b);for(var e0=0;u<c;u+=2)if(!(t0&&t0[e0++]<u2/this.pixelRatio)){var h1=this.calculateImageOrLabelDimensions_(y.width,y.height,s[u],s[u+1],u2,A2,f,p,j0,T0,$1,L4,r,N1,L1||h2,L),Y0=[t,T,y,h1,b0,L1?S:null,h2?M:null];if(a){if(k0==="none")continue;if(k0==="obstacle"){a.insert(h1.declutterBox);continue}else{var a1=void 0,M4=void 0;if(H1){var W0=c-u;if(!H1[W0]){H1[W0]=Y0;continue}if(a1=H1[W0],delete H1[W0],M4=I7(a1),a.collides(M4))continue}if(a.collides(h1.declutterBox))continue;a1&&(a.insert(M4),this.replayImageOrLabel_.apply(this,a1)),a.insert(h1.declutterBox)}}this.replayImageOrLabel_.apply(this,Y0)}++l;break;case D.DRAW_CHARS:var U5=x[1],K5=x[2],F4=x[3],g3=x[4];w=x[5
Line truncated
|
||||
`);this.generateTileUrlFunction_?this.setTileUrlFunction(xn(T,this.tileGrid),Z):this.setKey(Z)},t.prototype.tileUrlFunction=function(T,Z,e){},t.prototype.useTile=function(T,Z,e){var r=P4(T,Z,e);this.tileCache.containsKey(r)&&this.tileCache.get(r)},t}(En);const In=Sn;var Pn=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),Ln=function(n){Pn(t,n);function t(T){var Z=this,e=T.imageSmoothing!==void 0?T.imageSmoothing:!0;return T.interpolate!==void 0&&(e=T.interpolate),Z=n.call(this,{attributions:T.attributions,cacheSize:T.cacheSize,opaque:T.opaque,projection:T.projection,state:T.state,tileGrid:T.tileGrid,tileLoadFunction:T.tileLoadFunction?T.tileLoadFunction:An,tilePixelRatio:T.tilePixelRatio,tileUrlFunction:T.tileUrlFunction,url:T.url,urls:T.urls,wrapX:T.wrapX,transition:T.transition,interpolate:e,key:T.key,attributionsCollapsible:T.attributionsCollapsible,zDirection:T.zDirection})||this,Z.crossOrigin=T.crossOrigin!==void 0?T.crossOrigin:null,Z.tileClass=T.tileClass!==void 0?T.tileClass:q8,Z.tileCacheForProjection={},Z.tileGridForProjection={},Z.reprojectionErrorThreshold_=T.reprojectionErrorThreshold,Z.renderReprojectionEdges_=!1,Z}return t.prototype.canExpireCache=function(){if(!j1)return n.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var T in this.tileCacheForProjection)if(this.tileCacheForProjection[T].canExpireCache())return!0;return!1},t.prototype.expireCache=function(T,Z){if(!j1){n.prototype.expireCache.call(this,T,Z);return}var e=this.getTileCacheForProjection(T);this.tileCache.expireCache(this.tileCache==e?Z:{});for(var r in this.tileCacheForProjection){var i=this.tileCacheForProjection[r];i.expireCache(i==e?Z:{})}},t.prototype.getGutterForProjection=function(T){return j1&&this.getProjection()&&T&&!d2(this.getProjection(),T)?0:this.getGutter()},t.prototype.getGutter=function(){return 0},t.prototype.getKey=function(){var T=n.prototype.getKey.call(this);return this.getInterpolate()||(T+=":disable-interpolation"),T},t.prototype.getOpaque=function(T){return j1&&this.getProjection()&&T&&!d2(this.getProjection(),T)?!1:n.prototype.getOpaque.call(this,T)},t.prototype.getTileGridForProjection=function(T){if(!j1)return n.prototype.getTileGridForProjection.call(this,T);var Z=this.getProjection();if(this.tileGrid&&(!Z||d2(Z,T)))return this.tileGrid;var e=z(T);return e in this.tileGridForProjection||(this.tileGridForProjection[e]=p3(T)),this.tileGridForProjection[e]},t.prototype.getTileCacheForProjection=function(T){if(!j1)return n.prototype.getTileCacheForProjection.call(this,T);var Z=this.getProjection();if(!Z||d2(Z,T))return this.tileCache;var e=z(T);return e in this.tileCacheForProjection||(this.tileCacheForProjection[e]=new a3(this.tileCache.highWaterMark)),this.tileCacheForProjection[e]},t.prototype.createTile_=function(T,Z,e,r,i,o){var a=[T,Z,e],s=this.getTileCoordForTileUrlFunction(a,i),l=s?this.tileUrlFunction(s,r,i):void 0,h=new this.tileClass(a,l!==void 0?N.IDLE:N.EMPTY,l!==void 0?l:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return h.key=o,h.addEventListener(G.CHANGE,this.handleTileChange.bind(this)),h},t.prototype.getTile=function(T,Z,e,r,i){var o=this.getProjection();if(!j1||!o||!i||d2(o,i))return this.getTileInternal(T,Z,e,r,o||i);var a=this.getTileCacheForProjection(i),s=[T,Z,e],l=void 0,h=o3(s);a.containsKey(h)&&(l=a.get(h));var u=this.getKey();if(l&&l.key==u)return l;var c=this.getTileGridForProjection(o),f=this.getTileGridForProjection(i),p=this.getTileCoordForTileUrlFunction(s,i),d=new c3(o,c,i,f,s,p,this.getTilePixelRatio(r),this.getGutter(),function(g,v,_,y){return this.getTileInternal(g,v,_,y,o)}.bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return d.key=u,l?(d.interimTile=l,d.refreshInterimChain(),a.replace(h,d)):a.set(h,d),d},t.prototype.getTileInternal=function(T,Z,e,r,i){var o=null,a=P4(T,Z,e),s=this.getKey();if(!this.tileCache.containsKey(a))o=this.createTile_(T,Z,e,r,i,s),this.tileCache.set(a,o);else if(o=this.tileCache.get(a),o.key!=s){var l=o;o=this.createTile_(T,Z,e,r,i,s),l.getState()==N.IDLE?o.interimTile=l.interimTile:o.interimTile=l,o.refreshInterimChain(),this.tileCache.replace(a,o)}return o},t.prototype.setRenderReprojectionEdges=function(T){if(!(!j1||this.renderReprojectionEdges_==T)){this.renderReprojectionEdges_=T;for(var Z in this.tileCacheForProjection)this.tileCacheForProjection[Z].clear();this.changed()}},t.prototype.setTileGridForProjection=function(T,Z){if(j1){var e=Z1(T);if(e){var r=z(e);r in this.tileGridForProjec
Line truncated
|
||||
//# sourceMappingURL=index.24fe7964.js.map
|
||||
`+f;X1.get(p)===void 0&&(X1.set(p,n,!0),o(l.style,l.weight,f)||(X1.set(p,0,!0),r===void 0&&(r=setInterval(a,32))))}}}(),S6=function(){var n;return function(t){var T=u5[t];if(T==null){if(y4){var Z=D8(t),e=G8(t,"\u017Dg"),r=isNaN(Number(Z.lineHeight))?1.2:Number(Z.lineHeight);T=r*(e.actualBoundingBoxAscent+e.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=t,document.body.appendChild(n),T=n.offsetHeight,document.body.removeChild(n);u5[t]=T}return T}}();function G8(n,t){return b2||(b2=g1(1,1)),n!=l5&&(b2.font=n,l5=b2.font),b2.measureText(t)}function f4(n,t){return G8(n,t).width}function m7(n,t,T){if(t in T)return T[t];var Z=t.split(`
|
||||
`).reduce(function(e,r){return Math.max(e,f4(n,r))},0);return T[t]=Z,Z}function I6(n,t){for(var T=[],Z=[],e=[],r=0,i=0,o=0,a=0,s=0,l=t.length;s<=l;s+=2){var h=t[s];if(h===`
|
||||
`||s===l){r=Math.max(r,i),e.push(i),i=0,o+=a;continue}var u=t[s+1]||n.font,c=f4(u,h);T.push(c),i+=c;var f=S6(u);Z.push(f),a=Math.max(a,f)}return{width:r,height:o,widths:T,heights:Z,lineWidths:e}}function P6(n,t,T,Z,e,r,i,o,a,s,l){n.save(),T!==1&&(n.globalAlpha*=T),t&&n.setTransform.apply(n,t),Z.contextInstructions?(n.translate(a,s),n.scale(l[0],l[1]),L6(Z,n)):l[0]<0||l[1]<0?(n.translate(a,s),n.scale(l[0],l[1]),n.drawImage(Z,e,r,i,o,0,0,i,o)):n.drawImage(Z,e,r,i,o,a,s,i*l[0],o*l[1]),n.restore()}function L6(n,t){for(var T=n.contextInstructions,Z=0,e=T.length;Z<e;Z+=2)Array.isArray(T[Z+1])?t[T[Z]].apply(t,T[Z+1]):t[T[Z]]=T[Z+1]}var A6=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),M6=function(n){A6(t,n);function t(T){var Z=this,e=T.rotateWithView!==void 0?T.rotateWithView:!1;return Z=n.call(this,{opacity:1,rotateWithView:e,rotation:T.rotation!==void 0?T.rotation:0,scale:T.scale!==void 0?T.scale:1,displacement:T.displacement!==void 0?T.displacement:[0,0],declutterMode:T.declutterMode})||this,Z.canvas_=void 0,Z.hitDetectionCanvas_=null,Z.fill_=T.fill!==void 0?T.fill:null,Z.origin_=[0,0],Z.points_=T.points,Z.radius_=T.radius!==void 0?T.radius:T.radius1,Z.radius2_=T.radius2,Z.angle_=T.angle!==void 0?T.angle:0,Z.stroke_=T.stroke!==void 0?T.stroke:null,Z.size_=null,Z.renderOptions_=null,Z.render(),Z}return t.prototype.clone=function(){var T=this.getScale(),Z=new t({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(T)?T.slice():T,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return Z.setOpacity(this.getOpacity()),Z},t.prototype.getAnchor=function(){var T=this.size_;if(!T)return null;var Z=this.getDisplacement();return[T[0]/2-Z[0],T[1]/2+Z[1]]},t.prototype.getAngle=function(){return this.angle_},t.prototype.getFill=function(){return this.fill_},t.prototype.setFill=function(T){this.fill_=T,this.render()},t.prototype.getHitDetectionImage=function(){return this.hitDetectionCanvas_||this.createHitDetectionCanvas_(this.renderOptions_),this.hitDetectionCanvas_},t.prototype.getImage=function(T){var Z=this.canvas_[T];if(!Z){var e=this.renderOptions_,r=g1(e.size*T,e.size*T);this.draw_(e,r,T),Z=r.canvas,this.canvas_[T]=Z}return Z},t.prototype.getPixelRatio=function(T){return T},t.prototype.getImageSize=function(){return this.size_},t.prototype.getImageState=function(){return $.LOADED},t.prototype.getOrigin=function(){return this.origin_},t.prototype.getPoints=function(){return this.points_},t.prototype.getRadius=function(){return this.radius_},t.prototype.getRadius2=function(){return this.radius2_},t.prototype.getSize=function(){return this.size_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.setStroke=function(T){this.stroke_=T,this.render()},t.prototype.listenImageChange=function(T){},t.prototype.load=function(){},t.prototype.unlistenImageChange=function(T){},t.prototype.calculateLineJoinSize_=function(T,Z,e){if(Z===0||this.points_===1/0||T!=="bevel"&&T!=="miter")return Z;var r=this.radius_,i=this.radius2_===void 0?r:this.radius2_;if(r<i){var o=r;r=i,i=o}var a=this.radius2_===void 0?this.points_:this.points_*2,s=2*Math.PI/a,l=i*Math.sin(s),h=Math.sqrt(i*i-l*l),u=r-h,c=Math.sqrt(l*l+u*u),f=c/l;if(T==="miter"&&f<=e)return f*Z;var p=Z/2/f,d=Z/2*(u/c),g=Math.sqrt((r+p)*(r+p)+d*d),v=g-r;if(this.radius2_===void 0||T==="bevel")return v*2;var _=r*Math.sin(s),y=Math.sqrt(r*r-_*_),m=i-y,C=Math.sqrt(_*_+m*m),E=C/_;if(E<=e){var w=E*Z/2-i-r;return 2*Math.max(v,w)}return v*2},t.prototype.createRenderOptions=function(){var T=V2,Z=0,e=null,r=0,i,o=0;this.stroke_&&(i=this.stroke_.getColor(),i===null&&(i=R0),i=M1(i),o=this.stroke_.getWidth(),o===void 0&&(o=I0),e=this.stroke_.getLineDash(),r=this.stroke_.getLineDashOffset(),T=this.stroke_.getLineJoin(),T===void 0&&(T=V2),Z=this.stroke_.getMiterLimit(),Z===void 0&&(Z=O0));var a=this.calculateLineJoinSize_(T,o,Z),s=Math.max(this.radius_,this.radius2_||0),l=Math.ceil(2*s+a);return{strokeStyle:i,strokeWidth:o,size:l,lineDash:e,lineDashOffset:r,lineJoin:T,miterLimit:Z}},t.prototype.render=function(){this.renderOptions_=this.createRenderOptions();var T=this.renderOptions_.size;this.canvas_={},this.size_=[T,T]},t.prototype.draw_=function(T,Z,e){if(Z.scale(e,e),Z.translate(T.size/2,T.size/2),this.createPath_(Z),this.fill_){var r=this.fill_.getColor();r===null
Line truncated
|
||||
`,""),n.push(t,""),n}var ST=function(){function n(t,T,Z,e){this.overlaps=Z,this.pixelRatio=T,this.resolution=t,this.alignFill_,this.instructions=e.instructions,this.coordinates=e.coordinates,this.coordinateCache_={},this.renderedTransform_=F1(),this.hitDetectionInstructions=e.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=e.fillStates||{},this.strokeStates=e.strokeStates||{},this.textStates=e.textStates||{},this.widths_={},this.labels_={}}return n.prototype.createLabel=function(t,T,Z,e){var r=t+T+Z+e;if(this.labels_[r])return this.labels_[r];var i=e?this.strokeStates[e]:null,o=Z?this.fillStates[Z]:null,a=this.textStates[T],s=this.pixelRatio,l=[a.scale[0]*s,a.scale[1]*s],h=Array.isArray(t),u=a.justify?_0[a.justify]:P7(Array.isArray(t)?t[0]:t,a.textAlign||S0),c=e&&i.lineWidth?i.lineWidth:0,f=h?t:t.split(`
|
||||
`).reduce(RT,[]),p=I6(a,f),d=p.width,g=p.height,v=p.widths,_=p.heights,y=p.lineWidths,m=d+c,C=[],E=(m+2)*l[0],w=(g+c)*l[1],S={width:E<0?Math.floor(E):Math.ceil(E),height:w<0?Math.floor(w):Math.ceil(w),contextInstructions:C};if((l[0]!=1||l[1]!=1)&&C.push("scale",l),e){C.push("strokeStyle",i.strokeStyle),C.push("lineWidth",c),C.push("lineCap",i.lineCap),C.push("lineJoin",i.lineJoin),C.push("miterLimit",i.miterLimit);var P=y4?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;P.prototype.setLineDash&&(C.push("setLineDash",[i.lineDash]),C.push("lineDashOffset",i.lineDashOffset))}Z&&C.push("fillStyle",o.fillStyle),C.push("textBaseline","middle"),C.push("textAlign","center");for(var A=.5-u,O=u*m+A*c,R=[],D=[],b=0,I=0,L=0,M=0,Y,W=0,K=f.length;W<K;W+=2){var x=f[W];if(x===`
|
||||
`){I+=b,b=0,O=u*m+A*c,++M;continue}var Q=f[W+1]||a.font;Q!==Y&&(e&&R.push("font",Q),Z&&D.push("font",Q),Y=Q),b=Math.max(b,_[L]);var V=[x,O+A*v[L]+u*(v[L]-y[M]),.5*(c+b)+I];O+=v[L],e&&R.push("strokeText",V),Z&&D.push("fillText",V),++L}return Array.prototype.push.apply(C,R),Array.prototype.push.apply(C,D),this.labels_[r]=S,S},n.prototype.replayTextBackground_=function(t,T,Z,e,r,i,o){t.beginPath(),t.moveTo.apply(t,T),t.lineTo.apply(t,Z),t.lineTo.apply(t,e),t.lineTo.apply(t,r),t.lineTo.apply(t,T),i&&(this.alignFill_=i[2],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())},n.prototype.calculateImageOrLabelDimensions_=function(t,T,Z,e,r,i,o,a,s,l,h,u,c,f,p,d){o*=u[0],a*=u[1];var g=Z-o,v=e-a,_=r+s>t?t-s:r,y=i+l>T?T-l:i,m=f[3]+_*u[0]+f[1],C=f[0]+y*u[1]+f[2],E=g-f[3],w=v-f[0];(p||h!==0)&&(J1[0]=E,Q1[0]=E,J1[1]=w,G1[1]=w,G1[0]=E+m,b1[0]=G1[0],b1[1]=w+C,Q1[1]=b1[1]);var S;return h!==0?(S=K1(F1(),Z,e,1,1,h,-Z,-e),t1(S,J1),t1(S,G1),t1(S,b1),t1(S,Q1),D1(Math.min(J1[0],G1[0],b1[0],Q1[0]),Math.min(J1[1],G1[1],b1[1],Q1[1]),Math.max(J1[0],G1[0],b1[0],Q1[0]),Math.max(J1[1],G1[1],b1[1],Q1[1]),N2)):D1(Math.min(E,E+m),Math.min(w,w+C),Math.max(E,E+m),Math.max(w,w+C),N2),c&&(g=Math.round(g),v=Math.round(v)),{drawImageX:g,drawImageY:v,drawImageW:_,drawImageH:y,originX:s,originY:l,declutterBox:{minX:N2[0],minY:N2[1],maxX:N2[2],maxY:N2[3],value:d},canvasTransform:S,scale:u}},n.prototype.replayImageOrLabel_=function(t,T,Z,e,r,i,o){var a=!!(i||o),s=e.declutterBox,l=t.canvas,h=o?o[2]*e.scale[0]/2:0,u=s.minX-h<=l.width/T&&s.maxX+h>=0&&s.minY-h<=l.height/T&&s.maxY+h>=0;return u&&(a&&this.replayTextBackground_(t,J1,G1,b1,Q1,i,o),P6(t,e.canvasTransform,r,Z,e.originX,e.originY,e.drawImageW,e.drawImageH,e.drawImageX,e.drawImageY,e.scale)),!0},n.prototype.fill_=function(t){if(this.alignFill_){var T=t1(this.renderedTransform_,[0,0]),Z=512*this.pixelRatio;t.save(),t.translate(T[0]%Z,T[1]%Z),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()},n.prototype.setStrokeStyle_=function(t,T){t.strokeStyle=T[1],t.lineWidth=T[2],t.lineCap=T[3],t.lineJoin=T[4],t.miterLimit=T[5],t.setLineDash&&(t.lineDashOffset=T[7],t.setLineDash(T[6]))},n.prototype.drawLabelWithPointPlacement_=function(t,T,Z,e){var r=this.textStates[T],i=this.createLabel(t,T,e,Z),o=this.strokeStates[Z],a=this.pixelRatio,s=P7(Array.isArray(t)?t[0]:t,r.textAlign||S0),l=_0[r.textBaseline||c4],h=o&&o.lineWidth?o.lineWidth:0,u=i.width/a-2*r.scale[0],c=s*u+2*(.5-s)*h,f=l*i.height/a+2*(.5-l)*h;return{label:i,anchorX:c,anchorY:f}},n.prototype.execute_=function(t,T,Z,e,r,i,o,a){var s;this.pixelCoordinates_&&R2(Z,this.renderedTransform_)?s=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),s=C2(this.coordinates,0,this.coordinates.length,2,Z,this.pixelCoordinates_),H3(this.renderedTransform_,Z));for(var l=0,h=e.length,u=0,c,f,p,d,g,v,_,y,m,C,E,w,S=0,P=0,A=null,O=null,R=this.coordinateCache_,D=this.viewRotation_,b=Math.round(Math.atan2(-Z[1],Z[0])*1e12)/1e12,I={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:D},L=this.instructions!=e||this.overlaps?0:200,M,Y,W,K;l<h;){var x=e[l],Q=x[0];switch(Q){case N.BEGIN_GEOMETRY:M=x[1],K=x[3],M.getGeometry()?o!==void 0&&!d1(o,K.getExtent())?l=x[2]+1:++l:l=x[2];break;case N.BEGIN_PATH:S>L&&(this.fill_(t),S=0),P>L&&(t.stroke(),P=0),!S&&!P&&(t.beginPath(),d=NaN,g=NaN),++l;break;case N.CIRCLE:u=x[1];var V=s[u],k=s[u+1],i1=s[u+2],c1=s[u+3],o1=i1-V,L2=c1-k,v1=Math.sqrt(o1*o1+L2*L2);t.moveTo(V+v1,k),t.arc(V,k,v1,0,2*Math.PI,!0),++l;break;case N.CLOSE_PATH:t.closePath(),++l;break;case N.CUSTOM:u=x[1],c=x[2];var J2=x[3],P1=x[4],Q2=x.length==6?x[5]:void 0;I.geometry=J2,I.feature=M,l in R||(R[l]=[]);var l2=R[l];Q2?Q2(s,u,c,2,l2):(l2[0]=s[u],l2[1]=s[u+1],l2.length=2),P1(l2,I),++l;break;case N.DRAW_IMAGE:u=x[1],c=x[2],y=x[3],f=x[4],p=x[5];var A2=x[6],b0=x[7],j0=x[8],T0=x[9],Z0=x[10],$1=x[11],L4=x[12],u2=x[13],k0=x[14],H1=x[15];if(!y&&x.length>=20){m=x[19],C=x[20],E=x[21],w=x[22];var M2=this.drawLabelWithPointPlacement_(m,C,E,w);y=M2.label,x[3]=y;var A4=x[23];f=(M2.anchorX-A4)*this.pixelRatio,x[4]=f;var X0=x[24];p=(M2.anchorY-X0)*this.pixelRatio,x[5]=p,A2=y.height,x[6]=A2,u2=y.width,x[13]=u2}var t0=void 0;x.length>25&&(t0=x[25]);var N1=void 0,L1=void 0,h2=void 0;x.length>17?(N1=x[16],L1=x[17],h2=x[18]):(N1=y2,L1=!1,h2=!1),Z0&&b?$1+=D:!Z0&&!b&&($1-=D);for(var e0=0;u<c;u+=2)if(!(t0&&t0[e0++]<u2/this.pixelRatio)){var h1=this.calculateImageOrLabelDimensions_(y.width,y.height,s[u],s[u+1],u2,A2,f,p,j0,T0,$1,L4,r,N1,L1||h2,M),Y0=[t,T,y,h1,b0,L1?A:null,h2?O:null];if(a){if(k0==="none")continue;if(k0==="obstacle"){a.insert(h1.declutterBox);continue}else{var a1=void 0,M4=void 0;if(H1){var W0=c-u;if(!H1[W0]){H1[W0]=Y0;continue}if(a1=H1[W0],delete H1[W0],M4=I7(a1),a.collides(M4))continue}if(a.collides(h1.declutterBox))continue;a1&&(a.insert(M4),this.replayImageOrLabel_.apply(this,a1)),a.insert(h1.declutterBox)}}this.replayImageOrLabel_.apply(this,Y0)}++l;break;case N.DRAW_CHARS:var U5=x[1],K5=x[2],F4=x[3],_3=x[4];w=x[5
Line truncated
|
||||
`);this.generateTileUrlFunction_?this.setTileUrlFunction(xn(T,this.tileGrid),Z):this.setKey(Z)},t.prototype.tileUrlFunction=function(T,Z,e){},t.prototype.useTile=function(T,Z,e){var r=P4(T,Z,e);this.tileCache.containsKey(r)&&this.tileCache.get(r)},t}(En);const In=Sn;var Pn=globalThis&&globalThis.__extends||function(){var n=function(t,T){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,e){Z.__proto__=e}||function(Z,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(Z[r]=e[r])},n(t,T)};return function(t,T){if(typeof T!="function"&&T!==null)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");n(t,T);function Z(){this.constructor=t}t.prototype=T===null?Object.create(T):(Z.prototype=T.prototype,new Z)}}(),Ln=function(n){Pn(t,n);function t(T){var Z=this,e=T.imageSmoothing!==void 0?T.imageSmoothing:!0;return T.interpolate!==void 0&&(e=T.interpolate),Z=n.call(this,{attributions:T.attributions,cacheSize:T.cacheSize,opaque:T.opaque,projection:T.projection,state:T.state,tileGrid:T.tileGrid,tileLoadFunction:T.tileLoadFunction?T.tileLoadFunction:An,tilePixelRatio:T.tilePixelRatio,tileUrlFunction:T.tileUrlFunction,url:T.url,urls:T.urls,wrapX:T.wrapX,transition:T.transition,interpolate:e,key:T.key,attributionsCollapsible:T.attributionsCollapsible,zDirection:T.zDirection})||this,Z.crossOrigin=T.crossOrigin!==void 0?T.crossOrigin:null,Z.tileClass=T.tileClass!==void 0?T.tileClass:J8,Z.tileCacheForProjection={},Z.tileGridForProjection={},Z.reprojectionErrorThreshold_=T.reprojectionErrorThreshold,Z.renderReprojectionEdges_=!1,Z}return t.prototype.canExpireCache=function(){if(!j1)return n.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var T in this.tileCacheForProjection)if(this.tileCacheForProjection[T].canExpireCache())return!0;return!1},t.prototype.expireCache=function(T,Z){if(!j1){n.prototype.expireCache.call(this,T,Z);return}var e=this.getTileCacheForProjection(T);this.tileCache.expireCache(this.tileCache==e?Z:{});for(var r in this.tileCacheForProjection){var i=this.tileCacheForProjection[r];i.expireCache(i==e?Z:{})}},t.prototype.getGutterForProjection=function(T){return j1&&this.getProjection()&&T&&!d2(this.getProjection(),T)?0:this.getGutter()},t.prototype.getGutter=function(){return 0},t.prototype.getKey=function(){var T=n.prototype.getKey.call(this);return this.getInterpolate()||(T+=":disable-interpolation"),T},t.prototype.getOpaque=function(T){return j1&&this.getProjection()&&T&&!d2(this.getProjection(),T)?!1:n.prototype.getOpaque.call(this,T)},t.prototype.getTileGridForProjection=function(T){if(!j1)return n.prototype.getTileGridForProjection.call(this,T);var Z=this.getProjection();if(this.tileGrid&&(!Z||d2(Z,T)))return this.tileGrid;var e=z(T);return e in this.tileGridForProjection||(this.tileGridForProjection[e]=d3(T)),this.tileGridForProjection[e]},t.prototype.getTileCacheForProjection=function(T){if(!j1)return n.prototype.getTileCacheForProjection.call(this,T);var Z=this.getProjection();if(!Z||d2(Z,T))return this.tileCache;var e=z(T);return e in this.tileCacheForProjection||(this.tileCacheForProjection[e]=new s3(this.tileCache.highWaterMark)),this.tileCacheForProjection[e]},t.prototype.createTile_=function(T,Z,e,r,i,o){var a=[T,Z,e],s=this.getTileCoordForTileUrlFunction(a,i),l=s?this.tileUrlFunction(s,r,i):void 0,h=new this.tileClass(a,l!==void 0?G.IDLE:G.EMPTY,l!==void 0?l:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return h.key=o,h.addEventListener(j.CHANGE,this.handleTileChange.bind(this)),h},t.prototype.getTile=function(T,Z,e,r,i){var o=this.getProjection();if(!j1||!o||!i||d2(o,i))return this.getTileInternal(T,Z,e,r,o||i);var a=this.getTileCacheForProjection(i),s=[T,Z,e],l=void 0,h=a3(s);a.containsKey(h)&&(l=a.get(h));var u=this.getKey();if(l&&l.key==u)return l;var c=this.getTileGridForProjection(o),f=this.getTileGridForProjection(i),p=this.getTileCoordForTileUrlFunction(s,i),d=new f3(o,c,i,f,s,p,this.getTilePixelRatio(r),this.getGutter(),function(g,v,_,y){return this.getTileInternal(g,v,_,y,o)}.bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return d.key=u,l?(d.interimTile=l,d.refreshInterimChain(),a.replace(h,d)):a.set(h,d),d},t.prototype.getTileInternal=function(T,Z,e,r,i){var o=null,a=P4(T,Z,e),s=this.getKey();if(!this.tileCache.containsKey(a))o=this.createTile_(T,Z,e,r,i,s),this.tileCache.set(a,o);else if(o=this.tileCache.get(a),o.key!=s){var l=o;o=this.createTile_(T,Z,e,r,i,s),l.getState()==G.IDLE?o.interimTile=l.interimTile:o.interimTile=l,o.refreshInterimChain(),this.tileCache.replace(a,o)}return o},t.prototype.setRenderReprojectionEdges=function(T){if(!(!j1||this.renderReprojectionEdges_==T)){this.renderReprojectionEdges_=T;for(var Z in this.tileCacheForProjection)this.tileCacheForProjection[Z].clear();this.changed()}},t.prototype.setTileGridForProjection=function(T,Z){if(j1){var e=Z1(T);if(e){var r=z(e);r in this.tileGridForProjec
Line truncated
|
||||
//# sourceMappingURL=index.2d0ee7b9.js.map
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.24fe7964.js","sources":["../../vite/modulepreload-polyfill","../../node_modules/ol/util.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/Object.js","../../node_modules/ol/CollectionEventType.js","../../node_modules/ol/Collection.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/geom/GeometryLayout.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/SimpleGeometry.js","../../node_modules/ol/geom/flat/closest.js","../../node_modules/ol/geom/flat/deflate.js","../../node_modules/ol/geom/flat/simplify.js","../../node_modules/ol/geom/flat/inflate.js","../../node_modules/ol/geom/flat/area.js","../../node_modules/ol/geom/LinearRing.js","../../node_modules/ol/geom/Point.js","../../node_modules/ol/geom/flat/contains.js","../../node_modules/ol/geom/flat/interiorpoint.js","../../node_modules/ol/geom/flat/segments.js","../../node_modules/ol/geom/flat/intersectsextent.js","../../node_modules/ol/geom/flat/reverse.js","../../node_modules/ol/geom/flat/orient.js","../../node_modules/ol/geom/Polygon.js","../../node_modules/ol/render/EventType.js","../../node_modules/ol/style/Fill.js","../../node_modules/ol/geom/flat/interpolate.js","../../node_modules/ol/geom/flat/length.js","../../node_modules/ol/geom/LineString.js","../../node_modules/ol/style/Stroke.js","../../node_modules/ol/ImageState.js","../../node_modules/ol/size.js","../../node_modules/ol/style/Image.js","../../node_modules/ol/color.js","../../node_modules/ol/colorlike.js","../../node_modules/ol/dom.js","../../node_modules/ol/css.js","../../node_modules/ol/render/canvas.js","../../node_modules/ol/style/RegularShape.js","../../node_modules/ol/style/Circle.js","../../node_modules/ol/style/Style.js","../../node_modules/ol/style/TextPlacement.js","../../node_modules/ol/layer/Property.js","../../node_modules/ol/layer/Base.js","../../node_modules/ol/layer/Layer.js","../../node_modules/quickselect/index.js","../../node_modules/rbush/index.js","../../node_modules/ol/layer/BaseVector.js","../../node_modules/ol/render/canvas/Instruction.js","../../node_modules/ol/render/VectorContext.js","../../node_modules/ol/render/canvas/Builder.js","../../node_modules/ol/render/canvas/ImageBuilder.js","../../node_modules/ol/render/canvas/LineStringBuilder.js","../../node_modules/ol/render/canvas/PolygonBuilder.js","../../node_modules/ol/geom/flat/straightchunk.js","../../node_modules/ol/render/canvas/TextBuilder.js","../../node_modules/ol/render/canvas/BuilderGroup.js","../../node_modules/ol/renderer/Layer.js","../../node_modules/ol/render/Event.js","../../node_modules/ol/renderer/canvas/Layer.js","../../node_modules/ol/geom/flat/textpath.js","../../node_modules/ol/render/canvas/Executor.js","../../node_modules/ol/render/canvas/ExecutorGroup.js","../../node_modules/ol/ViewHint.js","../../node_modules/ol/render/canvas/Immediate.js","../../node_modules/ol/style/IconAnchorUnits.js","../../node_modules/ol/style/IconOrigin.js","../../node_modules/ol/style/IconImageCache.js","../../node_modules/ol/ImageBase.js","../../node_modules/ol/Image.js","../../node_modules/ol/style/IconImage.js","../../node_modules/ol/style/Icon.js","../../node_modules/ol/render/canvas/hitdetect.js","../../node_modules/ol/renderer/vector.js","../../node_modules/ol/renderer/canvas/VectorLayer.js","../../node_modules/ol/layer/Vector.js","../../node_modules/ol/structs/RBush.js","../../node_modules/ol/source/Source.js","../../node_modules/ol/source/VectorEventType.js","../../node_modules/ol/loadingstrategy.js","../../node_modules/ol/featureloader.js","../../node_modules/ol/source/Vector.js","../../node_modules/ol/TileState.js","../../node_modules/ol/easing.js","../../node_modules/ol/Tile.js","../../node_modules/ol/ImageTile.js","../../node_modules/ol/Kinetic.js","../../node_modules/ol/renderer/Map.js","../../node_modules/ol/renderer/Composite.js","../../node_modules/ol/layer/Group.js","../../node_modules/ol/MapEvent.js","../../node_modules/ol/MapBrowserEvent.js","../../Line truncated
|
||||
{"version":3,"file":"index.2d0ee7b9.js","sources":["../../vite/modulepreload-polyfill","../../node_modules/ol/util.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/Object.js","../../node_modules/ol/CollectionEventType.js","../../node_modules/ol/Collection.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/geom/GeometryLayout.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/SimpleGeometry.js","../../node_modules/ol/geom/flat/closest.js","../../node_modules/ol/geom/flat/deflate.js","../../node_modules/ol/geom/flat/simplify.js","../../node_modules/ol/geom/flat/inflate.js","../../node_modules/ol/geom/flat/area.js","../../node_modules/ol/geom/LinearRing.js","../../node_modules/ol/geom/Point.js","../../node_modules/ol/geom/flat/contains.js","../../node_modules/ol/geom/flat/interiorpoint.js","../../node_modules/ol/geom/flat/segments.js","../../node_modules/ol/geom/flat/intersectsextent.js","../../node_modules/ol/geom/flat/reverse.js","../../node_modules/ol/geom/flat/orient.js","../../node_modules/ol/geom/Polygon.js","../../node_modules/ol/render/EventType.js","../../node_modules/ol/style/Fill.js","../../node_modules/ol/geom/flat/interpolate.js","../../node_modules/ol/geom/flat/length.js","../../node_modules/ol/geom/LineString.js","../../node_modules/ol/style/Stroke.js","../../node_modules/ol/ImageState.js","../../node_modules/ol/size.js","../../node_modules/ol/style/Image.js","../../node_modules/ol/color.js","../../node_modules/ol/colorlike.js","../../node_modules/ol/dom.js","../../node_modules/ol/css.js","../../node_modules/ol/render/canvas.js","../../node_modules/ol/style/RegularShape.js","../../node_modules/ol/style/Circle.js","../../node_modules/ol/style/Style.js","../../node_modules/ol/style/TextPlacement.js","../../node_modules/ol/layer/Property.js","../../node_modules/ol/layer/Base.js","../../node_modules/ol/layer/Layer.js","../../node_modules/quickselect/index.js","../../node_modules/rbush/index.js","../../node_modules/ol/layer/BaseVector.js","../../node_modules/ol/render/canvas/Instruction.js","../../node_modules/ol/render/VectorContext.js","../../node_modules/ol/render/canvas/Builder.js","../../node_modules/ol/render/canvas/ImageBuilder.js","../../node_modules/ol/render/canvas/LineStringBuilder.js","../../node_modules/ol/render/canvas/PolygonBuilder.js","../../node_modules/ol/geom/flat/straightchunk.js","../../node_modules/ol/render/canvas/TextBuilder.js","../../node_modules/ol/render/canvas/BuilderGroup.js","../../node_modules/ol/renderer/Layer.js","../../node_modules/ol/render/Event.js","../../node_modules/ol/renderer/canvas/Layer.js","../../node_modules/ol/geom/flat/textpath.js","../../node_modules/ol/render/canvas/Executor.js","../../node_modules/ol/render/canvas/ExecutorGroup.js","../../node_modules/ol/ViewHint.js","../../node_modules/ol/render/canvas/Immediate.js","../../node_modules/ol/style/IconAnchorUnits.js","../../node_modules/ol/style/IconOrigin.js","../../node_modules/ol/style/IconImageCache.js","../../node_modules/ol/ImageBase.js","../../node_modules/ol/Image.js","../../node_modules/ol/style/IconImage.js","../../node_modules/ol/style/Icon.js","../../node_modules/ol/render/canvas/hitdetect.js","../../node_modules/ol/renderer/vector.js","../../node_modules/ol/renderer/canvas/VectorLayer.js","../../node_modules/ol/layer/Vector.js","../../node_modules/ol/structs/RBush.js","../../node_modules/ol/source/Source.js","../../node_modules/ol/source/VectorEventType.js","../../node_modules/ol/loadingstrategy.js","../../node_modules/ol/featureloader.js","../../node_modules/ol/source/Vector.js","../../node_modules/ol/TileState.js","../../node_modules/ol/easing.js","../../node_modules/ol/Tile.js","../../node_modules/ol/ImageTile.js","../../node_modules/ol/Kinetic.js","../../node_modules/ol/renderer/Map.js","../../node_modules/ol/renderer/Composite.js","../../node_modules/ol/layer/Group.js","../../node_modules/ol/MapEvent.js","../../node_modules/ol/MapBrowserEvent.js","../../Line truncated
|
||||
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 260 KiB |
Vendored
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
Vendored
+2
-1
@@ -7,11 +7,12 @@
|
||||
<title>Road2Bitcoin Live Map</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css">
|
||||
<script defer data-domain="r2b22.kip.pe" src="https://plausible.io/js/plausible.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index.24fe7964.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index.2d0ee7b9.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.eed9f443.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="map"><div id="popup"></div></div>
|
||||
<div id="people"></div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "ol-vite",
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ol-vite",
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"dependencies": {
|
||||
"ol": "latest"
|
||||
},
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "map",
|
||||
"version": "1.6.0",
|
||||
"version": "1.7.0",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
"build": "vite build",
|
||||
|
||||
Reference in new issue
Block a user