@performant-software/geospatial 2.3.14 → 2.3.15-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs184.js.map +1 -1
- package/dist/index.cjs185.js +1 -4
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +4 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs72.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.es14.js +2 -2
- package/dist/index.es15.js +5 -5
- package/dist/index.es16.js +1 -1
- package/dist/index.es183.js +320 -7
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +71 -144
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +3 -12197
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +18 -3
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +13 -3
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +28 -33
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +7 -3
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js +2 -2
- package/dist/index.es190.js +2 -23
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +10 -2
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +150 -3
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +12199 -2
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +3 -34
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +2 -14
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +35 -13
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +3 -11
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +21 -319
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +2 -77
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +3 -5
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +2 -18
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +31 -10
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +13 -31
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +13 -4
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +9 -2
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +1 -1
- package/dist/index.es21.js +2 -2
- package/dist/index.es210.js +1 -1
- package/dist/index.es22.js +2 -2
- package/dist/index.es228.js +1 -1
- package/dist/index.es233.js +46 -3
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +22 -45
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +3 -23
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +6 -4
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +4 -6
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es239.js +1 -1
- package/dist/index.es242.js +1 -1
- package/dist/index.es245.js +1 -1
- package/dist/index.es248.js +2 -2
- package/dist/index.es250.js +1 -1
- package/dist/index.es253.js +1 -1
- package/dist/index.es254.js +1 -1
- package/dist/index.es257.js +4 -15
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +15 -4
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +2 -2
- package/dist/index.es26.js +1 -1
- package/dist/index.es52.js +5 -5
- package/dist/index.es56.js +1 -1
- package/dist/index.es58.js +12 -12
- package/dist/index.es62.js +106 -5
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +10 -2
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +6 -2
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +2 -55
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +4 -48
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +55 -37
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +47 -11
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +38 -14
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +11 -29
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +10 -10
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +29 -13
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +12 -10
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +14 -109
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +11 -10
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es79.js +3 -3
- package/dist/index.es80.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es199.js
CHANGED
|
@@ -1,78 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
"setMinZoom",
|
|
4
|
-
"setMaxZoom",
|
|
5
|
-
"setMinPitch",
|
|
6
|
-
"setMaxPitch",
|
|
7
|
-
"setRenderWorldCopies",
|
|
8
|
-
"setProjection",
|
|
9
|
-
"setStyle",
|
|
10
|
-
"addSource",
|
|
11
|
-
"removeSource",
|
|
12
|
-
"addLayer",
|
|
13
|
-
"removeLayer",
|
|
14
|
-
"setLayerZoomRange",
|
|
15
|
-
"setFilter",
|
|
16
|
-
"setPaintProperty",
|
|
17
|
-
"setLayoutProperty",
|
|
18
|
-
"setLight",
|
|
19
|
-
"setTerrain",
|
|
20
|
-
"setFog",
|
|
21
|
-
"remove"
|
|
22
|
-
];
|
|
23
|
-
function i(e) {
|
|
24
|
-
if (!e)
|
|
25
|
-
return null;
|
|
26
|
-
const r = e.map, o = {
|
|
27
|
-
getMap: () => r,
|
|
28
|
-
// Overwrite getters to use our shadow transform
|
|
29
|
-
getCenter: () => e.transform.center,
|
|
30
|
-
getZoom: () => e.transform.zoom,
|
|
31
|
-
getBearing: () => e.transform.bearing,
|
|
32
|
-
getPitch: () => e.transform.pitch,
|
|
33
|
-
getPadding: () => e.transform.padding,
|
|
34
|
-
getBounds: () => e.transform.getBounds(),
|
|
35
|
-
project: (t) => {
|
|
36
|
-
const n = r.transform;
|
|
37
|
-
r.transform = e.transform;
|
|
38
|
-
const s = r.project(t);
|
|
39
|
-
return r.transform = n, s;
|
|
40
|
-
},
|
|
41
|
-
unproject: (t) => {
|
|
42
|
-
const n = r.transform;
|
|
43
|
-
r.transform = e.transform;
|
|
44
|
-
const s = r.unproject(t);
|
|
45
|
-
return r.transform = n, s;
|
|
46
|
-
},
|
|
47
|
-
// options diverge between mapbox and maplibre
|
|
48
|
-
queryTerrainElevation: (t, n) => {
|
|
49
|
-
const s = r.transform;
|
|
50
|
-
r.transform = e.transform;
|
|
51
|
-
const f = r.queryTerrainElevation(t, n);
|
|
52
|
-
return r.transform = s, f;
|
|
53
|
-
},
|
|
54
|
-
queryRenderedFeatures: (t, n) => {
|
|
55
|
-
const s = r.transform;
|
|
56
|
-
r.transform = e.transform;
|
|
57
|
-
const f = r.queryRenderedFeatures(t, n);
|
|
58
|
-
return r.transform = s, f;
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
for (const t of u(r))
|
|
62
|
-
!(t in o) && !a.includes(t) && (o[t] = r[t].bind(r));
|
|
63
|
-
return o;
|
|
64
|
-
}
|
|
65
|
-
function u(e) {
|
|
66
|
-
const r = /* @__PURE__ */ new Set();
|
|
67
|
-
let o = e;
|
|
68
|
-
for (; o; ) {
|
|
69
|
-
for (const t of Object.getOwnPropertyNames(o))
|
|
70
|
-
t[0] !== "_" && typeof e[t] == "function" && t !== "fire" && t !== "setEventedParent" && r.add(t);
|
|
71
|
-
o = Object.getPrototypeOf(o);
|
|
72
|
-
}
|
|
73
|
-
return Array.from(r);
|
|
74
|
-
}
|
|
75
|
-
export {
|
|
76
|
-
i as default
|
|
77
|
-
};
|
|
1
|
+
import r from "./index.es238.js";
|
|
2
|
+
r();
|
|
78
3
|
//# sourceMappingURL=index.es199.js.map
|
package/dist/index.es199.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es199.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es199.js","sources":["../../../node_modules/d3-geo/src/length.js"],"sourcesContent":["import adder from \"./adder\";\nimport {abs, atan2, cos, radians, sin, sqrt} from \"./math\";\nimport noop from \"./noop\";\nimport stream from \"./stream\";\n\nvar lengthSum = adder(),\n lambda0,\n sinPhi0,\n cosPhi0;\n\nvar lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n};\n\nfunction lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n}\n\nfunction lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n}\n\nfunction lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0 = lambda, sinPhi0 = sin(phi), cosPhi0 = cos(phi);\n lengthStream.point = lengthPoint;\n}\n\nfunction lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi),\n cosPhi = cos(phi),\n delta = abs(lambda - lambda0),\n cosDelta = cos(delta),\n sinDelta = sin(delta),\n x = cosPhi * sinDelta,\n y = cosPhi0 * sinPhi - sinPhi0 * cosPhi * cosDelta,\n z = sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0 = lambda, sinPhi0 = sinPhi, cosPhi0 = cosPhi;\n}\n\nexport default function(object) {\n lengthSum.reset();\n stream(object, lengthStream);\n return +lengthSum;\n}\n"],"names":["adder"],"mappings":";AAKgBA,EACZ;","x_google_ignoreList":[0]}
|
package/dist/index.es200.js
CHANGED
package/dist/index.es200.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es200.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es200.js","sources":["../../../node_modules/d3-geo/src/path/area.js"],"sourcesContent":["import adder from \"../adder\";\nimport {abs} from \"../math\";\nimport noop from \"../noop\";\n\nvar areaSum = adder(),\n areaRingSum = adder(),\n x00,\n y00,\n x0,\n y0;\n\nvar areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n areaStream.lineStart = areaStream.lineEnd = areaStream.point = noop;\n areaSum.add(abs(areaRingSum));\n areaRingSum.reset();\n },\n result: function() {\n var area = areaSum / 2;\n areaSum.reset();\n return area;\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaPointFirst(x, y) {\n areaStream.point = areaPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction areaPoint(x, y) {\n areaRingSum.add(y0 * x - x0 * y);\n x0 = x, y0 = y;\n}\n\nfunction areaRingEnd() {\n areaPoint(x00, y00);\n}\n\nexport default areaStream;\n"],"names":["adder"],"mappings":";AAIcA,EACV;AAAcA,EACd;","x_google_ignoreList":[0]}
|
package/dist/index.es201.js
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
"maxParallelImageRequests",
|
|
4
|
-
"workerClass",
|
|
5
|
-
"workerCount",
|
|
6
|
-
"workerUrl"
|
|
7
|
-
];
|
|
8
|
-
function a(e, l) {
|
|
9
|
-
for (const t of s)
|
|
10
|
-
t in l && (e[t] = l[t]);
|
|
11
|
-
const { RTLTextPlugin: o = "https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js" } = l;
|
|
12
|
-
o && e.getRTLTextPluginStatus && e.getRTLTextPluginStatus() === "unavailable" && e.setRTLTextPlugin(o, (t) => {
|
|
13
|
-
t && console.error(t);
|
|
14
|
-
}, !0);
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
a as default
|
|
18
|
-
};
|
|
1
|
+
import r from "./index.es238.js";
|
|
2
|
+
r();
|
|
19
3
|
//# sourceMappingURL=index.es201.js.map
|
package/dist/index.es201.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es201.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es201.js","sources":["../../../node_modules/d3-geo/src/path/measure.js"],"sourcesContent":["import adder from \"../adder\";\nimport {sqrt} from \"../math\";\nimport noop from \"../noop\";\n\nvar lengthSum = adder(),\n lengthRing,\n x00,\n y00,\n x0,\n y0;\n\nvar lengthStream = {\n point: noop,\n lineStart: function() {\n lengthStream.point = lengthPointFirst;\n },\n lineEnd: function() {\n if (lengthRing) lengthPoint(x00, y00);\n lengthStream.point = noop;\n },\n polygonStart: function() {\n lengthRing = true;\n },\n polygonEnd: function() {\n lengthRing = null;\n },\n result: function() {\n var length = +lengthSum;\n lengthSum.reset();\n return length;\n }\n};\n\nfunction lengthPointFirst(x, y) {\n lengthStream.point = lengthPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction lengthPoint(x, y) {\n x0 -= x, y0 -= y;\n lengthSum.add(sqrt(x0 * x0 + y0 * y0));\n x0 = x, y0 = y;\n}\n\nexport default lengthStream;\n"],"names":["adder"],"mappings":";AAIgBA,EAAM;","x_google_ignoreList":[0]}
|
package/dist/index.es202.js
CHANGED
|
@@ -1,14 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
function e(t) {
|
|
2
|
+
return function(n) {
|
|
3
|
+
var r = new o();
|
|
4
|
+
for (var i in t)
|
|
5
|
+
r[i] = t[i];
|
|
6
|
+
return r.stream = n, r;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
function o() {
|
|
10
10
|
}
|
|
11
|
+
o.prototype = {
|
|
12
|
+
constructor: o,
|
|
13
|
+
point: function(t, n) {
|
|
14
|
+
this.stream.point(t, n);
|
|
15
|
+
},
|
|
16
|
+
sphere: function() {
|
|
17
|
+
this.stream.sphere();
|
|
18
|
+
},
|
|
19
|
+
lineStart: function() {
|
|
20
|
+
this.stream.lineStart();
|
|
21
|
+
},
|
|
22
|
+
lineEnd: function() {
|
|
23
|
+
this.stream.lineEnd();
|
|
24
|
+
},
|
|
25
|
+
polygonStart: function() {
|
|
26
|
+
this.stream.polygonStart();
|
|
27
|
+
},
|
|
28
|
+
polygonEnd: function() {
|
|
29
|
+
this.stream.polygonEnd();
|
|
30
|
+
}
|
|
31
|
+
};
|
|
11
32
|
export {
|
|
12
|
-
|
|
33
|
+
e as transformer
|
|
13
34
|
};
|
|
14
35
|
//# sourceMappingURL=index.es202.js.map
|
package/dist/index.es202.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es202.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es202.js","sources":["../../../node_modules/d3-geo/src/transform.js"],"sourcesContent":["export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n"],"names":["transformer","methods","stream","s","TransformStream","key","x","y"],"mappings":"AAMO,SAASA,EAAYC,GAAS;AACnC,SAAO,SAASC,GAAQ;AACtB,QAAIC,IAAI,IAAIC;AACZ,aAASC,KAAOJ;AAAW,MAAAE,EAAAE,CAAG,IAAIJ,EAAQI,CAAG;AAC7C,WAAAF,EAAE,SAASD,GACJC;AAAA,EAAA;AAEX;AAEA,SAASC,IAAkB;AAAC;AAE5BA,EAAgB,YAAY;AAAA,EAC1B,aAAaA;AAAA,EACb,OAAO,SAASE,GAAGC,GAAG;AAAO,SAAA,OAAO,MAAMD,GAAGC,CAAC;AAAA,EAAG;AAAA,EACjD,QAAQ,WAAW;AAAE,SAAK,OAAO;EAAU;AAAA,EAC3C,WAAW,WAAW;AAAE,SAAK,OAAO;EAAa;AAAA,EACjD,SAAS,WAAW;AAAE,SAAK,OAAO;EAAW;AAAA,EAC7C,cAAc,WAAW;AAAE,SAAK,OAAO;EAAgB;AAAA,EACvD,YAAY,WAAW;AAAE,SAAK,OAAO;EAAc;AACrD;","x_google_ignoreList":[0]}
|
package/dist/index.es203.js
CHANGED
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
for (let t = 0; t < e.length; t++)
|
|
14
|
-
if (!y(e[t], r[t]))
|
|
15
|
-
return !1;
|
|
16
|
-
return !0;
|
|
17
|
-
} else if (Array.isArray(r))
|
|
18
|
-
return !1;
|
|
19
|
-
if (typeof e == "object" && typeof r == "object") {
|
|
20
|
-
const t = Object.keys(e), s = Object.keys(r);
|
|
21
|
-
if (t.length !== s.length)
|
|
22
|
-
return !1;
|
|
23
|
-
for (const n of t)
|
|
24
|
-
if (!r.hasOwnProperty(n) || !y(e[n], r[n]))
|
|
25
|
-
return !1;
|
|
26
|
-
return !0;
|
|
27
|
-
}
|
|
28
|
-
return !1;
|
|
29
|
-
}
|
|
1
|
+
import { asin as t, sqrt as i } from "./index.es241.js";
|
|
2
|
+
import { azimuthalInvert as a, azimuthalRaw as m } from "./index.es247.js";
|
|
3
|
+
import "./index.es198.js";
|
|
4
|
+
import "./index.es197.js";
|
|
5
|
+
import "./index.es196.js";
|
|
6
|
+
import "./index.es202.js";
|
|
7
|
+
var o = m(function(r) {
|
|
8
|
+
return i(2 / (1 + r));
|
|
9
|
+
});
|
|
10
|
+
o.invert = a(function(r) {
|
|
11
|
+
return 2 * t(r / 2);
|
|
12
|
+
});
|
|
30
13
|
export {
|
|
31
|
-
|
|
32
|
-
y as deepEqual
|
|
14
|
+
o as azimuthalEqualAreaRaw
|
|
33
15
|
};
|
|
34
16
|
//# sourceMappingURL=index.es203.js.map
|
package/dist/index.es203.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es203.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es203.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEqualArea.js"],"sourcesContent":["import {asin, sqrt} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {\n return sqrt(2 / (1 + cxcy));\n});\n\nazimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {\n return 2 * asin(z / 2);\n});\n\nexport default function() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEqualAreaRaw","azimuthalRaw","cxcy","sqrt","azimuthalInvert","z","asin"],"mappings":";;;;;;AAIW,IAAAA,IAAwBC,EAAa,SAASC,GAAM;AACtD,SAAAC,EAAK,KAAK,IAAID,EAAK;AAC5B,CAAC;AAEDF,EAAsB,SAASI,EAAgB,SAASC,GAAG;AAClD,SAAA,IAAIC,EAAKD,IAAI,CAAC;AACvB,CAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es204.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { acos as r, sin as a } from "./index.es241.js";
|
|
2
|
+
import { azimuthalInvert as n, azimuthalRaw as o } from "./index.es247.js";
|
|
3
|
+
import u from "./index.es248.js";
|
|
4
|
+
var i = o(function(t) {
|
|
5
|
+
return (t = r(t)) && t / a(t);
|
|
6
|
+
});
|
|
7
|
+
i.invert = n(function(t) {
|
|
8
|
+
return t;
|
|
9
|
+
});
|
|
10
|
+
function f() {
|
|
11
|
+
return u(i).scale(79.4188).clipAngle(180 - 1e-3);
|
|
4
12
|
}
|
|
5
13
|
export {
|
|
6
|
-
|
|
14
|
+
i as azimuthalEquidistantRaw,
|
|
15
|
+
f as default
|
|
7
16
|
};
|
|
8
17
|
//# sourceMappingURL=index.es204.js.map
|
package/dist/index.es204.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es204.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es204.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEquidistant.js"],"sourcesContent":["import {acos, sin} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEquidistantRaw = azimuthalRaw(function(c) {\n return (c = acos(c)) && c / sin(c);\n});\n\nazimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {\n return z;\n});\n\nexport default function() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEquidistantRaw","azimuthalRaw","c","acos","sin","azimuthalInvert","z","geoAzimuthalEquidistant","projection"],"mappings":";;;AAIW,IAAAA,IAA0BC,EAAa,SAASC,GAAG;AAC5D,UAAQA,IAAIC,EAAKD,CAAC,MAAMA,IAAIE,EAAIF,CAAC;AACnC,CAAC;AAEDF,EAAwB,SAASK,EAAgB,SAASC,GAAG;AACpD,SAAAA;AACT,CAAC;AAEyB,SAAAC,IAAA;AACjB,SAAAC,EAAWR,CAAuB,EACpC,MAAM,OAAO,EACb,UAAU,MAAM,IAAI;AAC3B;","x_google_ignoreList":[0]}
|
package/dist/index.es205.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import "./index.es198.js";
|
|
2
|
+
import "./index.es197.js";
|
|
3
|
+
import "./index.es196.js";
|
|
4
|
+
import "./index.es202.js";
|
|
5
|
+
function r(t, i) {
|
|
6
|
+
return [t, i];
|
|
7
|
+
}
|
|
8
|
+
r.invert = r;
|
|
2
9
|
export {
|
|
3
|
-
|
|
10
|
+
r as equirectangularRaw
|
|
4
11
|
};
|
|
5
12
|
//# sourceMappingURL=index.es205.js.map
|
package/dist/index.es205.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es205.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.es205.js","sources":["../../../node_modules/d3-geo/src/projection/equirectangular.js"],"sourcesContent":["import projection from \"./index\";\n\nexport function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nexport default function() {\n return projection(equirectangularRaw)\n .scale(152.63);\n}\n"],"names":["equirectangularRaw","lambda","phi"],"mappings":";;;;AAEgB,SAAAA,EAAmBC,GAAQC,GAAK;AACvC,SAAA,CAACD,GAAQC,CAAG;AACrB;AAEAF,EAAmB,SAASA;","x_google_ignoreList":[0]}
|
package/dist/index.es208.js
CHANGED
package/dist/index.es209.js
CHANGED
package/dist/index.es21.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenIcon as a } from "./index.
|
|
2
|
-
import "./index.
|
|
1
|
+
import { GenIcon as a } from "./index.es62.js";
|
|
2
|
+
import "./index.es63.js";
|
|
3
3
|
function c(t) {
|
|
4
4
|
return a({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.598.598 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.598.598 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.598.598 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535L7.733.063z" }, child: [] }, { tag: "path", attr: { d: "m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.598.598 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.659z" }, child: [] }] })(t);
|
|
5
5
|
}
|
package/dist/index.es210.js
CHANGED
package/dist/index.es22.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenIcon as o } from "./index.
|
|
2
|
-
import "./index.
|
|
1
|
+
import { GenIcon as o } from "./index.es62.js";
|
|
2
|
+
import "./index.es63.js";
|
|
3
3
|
function e(t) {
|
|
4
4
|
return o({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M416 128 192 384l-96-96" }, child: [] }] })(t);
|
|
5
5
|
}
|
package/dist/index.es228.js
CHANGED
package/dist/index.es233.js
CHANGED
|
@@ -1,6 +1,49 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { deepEqual as c } from "./index.es188.js";
|
|
2
|
+
function g(n) {
|
|
3
|
+
const o = n.clone();
|
|
4
|
+
return o.pixelsToGLUnits = n.pixelsToGLUnits, o;
|
|
5
|
+
}
|
|
6
|
+
function r(n, o) {
|
|
7
|
+
if (!n.getProjection)
|
|
8
|
+
return;
|
|
9
|
+
const i = n.getProjection(), e = o.getProjection();
|
|
10
|
+
c(i, e) || o.setProjection(i);
|
|
11
|
+
}
|
|
12
|
+
function d(n) {
|
|
13
|
+
return {
|
|
14
|
+
longitude: n.center.lng,
|
|
15
|
+
latitude: n.center.lat,
|
|
16
|
+
zoom: n.zoom,
|
|
17
|
+
pitch: n.pitch,
|
|
18
|
+
bearing: n.bearing,
|
|
19
|
+
padding: n.padding
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function s(n, o) {
|
|
23
|
+
const i = o.viewState || o;
|
|
24
|
+
let e = !1;
|
|
25
|
+
if ("longitude" in i && "latitude" in i) {
|
|
26
|
+
const t = n.center;
|
|
27
|
+
n.center = new t.constructor(i.longitude, i.latitude), e = e || t !== n.center;
|
|
28
|
+
}
|
|
29
|
+
if ("zoom" in i) {
|
|
30
|
+
const t = n.zoom;
|
|
31
|
+
n.zoom = i.zoom, e = e || t !== n.zoom;
|
|
32
|
+
}
|
|
33
|
+
if ("bearing" in i) {
|
|
34
|
+
const t = n.bearing;
|
|
35
|
+
n.bearing = i.bearing, e = e || t !== n.bearing;
|
|
36
|
+
}
|
|
37
|
+
if ("pitch" in i) {
|
|
38
|
+
const t = n.pitch;
|
|
39
|
+
n.pitch = i.pitch, e = e || t !== n.pitch;
|
|
40
|
+
}
|
|
41
|
+
return i.padding && !n.isPaddingEqual(i.padding) && (e = !0, n.padding = i.padding), e;
|
|
42
|
+
}
|
|
3
43
|
export {
|
|
4
|
-
|
|
44
|
+
s as applyViewStateToTransform,
|
|
45
|
+
g as cloneTransform,
|
|
46
|
+
r as syncProjection,
|
|
47
|
+
d as transformToViewState
|
|
5
48
|
};
|
|
6
49
|
//# sourceMappingURL=index.es233.js.map
|
package/dist/index.es233.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es233.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es233.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/transform.js"],"sourcesContent":["import { deepEqual } from './deep-equal';\n/**\n * Make a copy of a transform\n * @param tr\n */\nexport function cloneTransform(tr) {\n const newTransform = tr.clone();\n // Work around mapbox bug - this value is not assigned in clone(), only in resize()\n newTransform.pixelsToGLUnits = tr.pixelsToGLUnits;\n return newTransform;\n}\n/**\n * Copy projection from one transform to another. This only applies to mapbox-gl transforms\n * @param src the transform to copy projection settings from\n * @param dest to transform to copy projection settings to\n */\nexport function syncProjection(src, dest) {\n if (!src.getProjection) {\n return;\n }\n const srcProjection = src.getProjection();\n const destProjection = dest.getProjection();\n if (!deepEqual(srcProjection, destProjection)) {\n dest.setProjection(srcProjection);\n }\n}\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Mutate a transform to match the given view state\n * @param transform\n * @param viewState\n * @returns true if the transform has changed\n */\nexport function applyViewStateToTransform(tr, props) {\n const v = props.viewState || props;\n let changed = false;\n if ('longitude' in v && 'latitude' in v) {\n const center = tr.center;\n // @ts-ignore\n tr.center = new center.constructor(v.longitude, v.latitude);\n changed = changed || center !== tr.center;\n }\n if ('zoom' in v) {\n const zoom = tr.zoom;\n tr.zoom = v.zoom;\n changed = changed || zoom !== tr.zoom;\n }\n if ('bearing' in v) {\n const bearing = tr.bearing;\n tr.bearing = v.bearing;\n changed = changed || bearing !== tr.bearing;\n }\n if ('pitch' in v) {\n const pitch = tr.pitch;\n tr.pitch = v.pitch;\n changed = changed || pitch !== tr.pitch;\n }\n if (v.padding && !tr.isPaddingEqual(v.padding)) {\n changed = true;\n tr.padding = v.padding;\n }\n return changed;\n}\n//# sourceMappingURL=transform.js.map"],"names":["cloneTransform","tr","newTransform","syncProjection","src","dest","srcProjection","destProjection","deepEqual","transformToViewState","applyViewStateToTransform","props","v","changed","center","zoom","bearing","pitch"],"mappings":";AAKO,SAASA,EAAeC,GAAI;AACzB,QAAAC,IAAeD,EAAG;AAExB,SAAAC,EAAa,kBAAkBD,EAAG,iBAC3BC;AACX;AAMgB,SAAAC,EAAeC,GAAKC,GAAM;AAClC,MAAA,CAACD,EAAI;AACL;AAEE,QAAAE,IAAgBF,EAAI,iBACpBG,IAAiBF,EAAK;AAC5B,EAAKG,EAAUF,GAAeC,CAAc,KACxCF,EAAK,cAAcC,CAAa;AAExC;AAMO,SAASG,EAAqBR,GAAI;AAC9B,SAAA;AAAA,IACH,WAAWA,EAAG,OAAO;AAAA,IACrB,UAAUA,EAAG,OAAO;AAAA,IACpB,MAAMA,EAAG;AAAA,IACT,OAAOA,EAAG;AAAA,IACV,SAASA,EAAG;AAAA,IACZ,SAASA,EAAG;AAAA,EAAA;AAEpB;AAQgB,SAAAS,EAA0BT,GAAIU,GAAO;AAC3C,QAAAC,IAAID,EAAM,aAAaA;AAC7B,MAAIE,IAAU;AACV,MAAA,eAAeD,KAAK,cAAcA,GAAG;AACrC,UAAME,IAASb,EAAG;AAElB,IAAAA,EAAG,SAAS,IAAIa,EAAO,YAAYF,EAAE,WAAWA,EAAE,QAAQ,GAChDC,IAAAA,KAAWC,MAAWb,EAAG;AAAA,EACvC;AACA,MAAI,UAAUW,GAAG;AACb,UAAMG,IAAOd,EAAG;AAChB,IAAAA,EAAG,OAAOW,EAAE,MACFC,IAAAA,KAAWE,MAASd,EAAG;AAAA,EACrC;AACA,MAAI,aAAaW,GAAG;AAChB,UAAMI,IAAUf,EAAG;AACnB,IAAAA,EAAG,UAAUW,EAAE,SACLC,IAAAA,KAAWG,MAAYf,EAAG;AAAA,EACxC;AACA,MAAI,WAAWW,GAAG;AACd,UAAMK,IAAQhB,EAAG;AACjB,IAAAA,EAAG,QAAQW,EAAE,OACHC,IAAAA,KAAWI,MAAUhB,EAAG;AAAA,EACtC;AACA,SAAIW,EAAE,WAAW,CAACX,EAAG,eAAeW,EAAE,OAAO,MAC/BC,IAAA,IACVZ,EAAG,UAAUW,EAAE,UAEZC;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es234.js
CHANGED
|
@@ -1,49 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function s(n, o) {
|
|
23
|
-
const i = o.viewState || o;
|
|
24
|
-
let e = !1;
|
|
25
|
-
if ("longitude" in i && "latitude" in i) {
|
|
26
|
-
const t = n.center;
|
|
27
|
-
n.center = new t.constructor(i.longitude, i.latitude), e = e || t !== n.center;
|
|
28
|
-
}
|
|
29
|
-
if ("zoom" in i) {
|
|
30
|
-
const t = n.zoom;
|
|
31
|
-
n.zoom = i.zoom, e = e || t !== n.zoom;
|
|
32
|
-
}
|
|
33
|
-
if ("bearing" in i) {
|
|
34
|
-
const t = n.bearing;
|
|
35
|
-
n.bearing = i.bearing, e = e || t !== n.bearing;
|
|
36
|
-
}
|
|
37
|
-
if ("pitch" in i) {
|
|
38
|
-
const t = n.pitch;
|
|
39
|
-
n.pitch = i.pitch, e = e || t !== n.pitch;
|
|
40
|
-
}
|
|
41
|
-
return i.padding && !n.isPaddingEqual(i.padding) && (e = !0, n.padding = i.padding), e;
|
|
1
|
+
const a = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"];
|
|
2
|
+
function c(r) {
|
|
3
|
+
if (!r)
|
|
4
|
+
return null;
|
|
5
|
+
if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
|
|
6
|
+
return r;
|
|
7
|
+
const t = {};
|
|
8
|
+
for (const e of r.layers)
|
|
9
|
+
t[e.id] = e;
|
|
10
|
+
const f = r.layers.map((e) => {
|
|
11
|
+
let n = null;
|
|
12
|
+
"interactive" in e && (n = Object.assign({}, e), delete n.interactive);
|
|
13
|
+
const o = t[e.ref];
|
|
14
|
+
if (o) {
|
|
15
|
+
n = n || Object.assign({}, e), delete n.ref;
|
|
16
|
+
for (const i of a)
|
|
17
|
+
i in o && (n[i] = o[i]);
|
|
18
|
+
}
|
|
19
|
+
return n || e;
|
|
20
|
+
});
|
|
21
|
+
return { ...r, layers: f };
|
|
42
22
|
}
|
|
43
23
|
export {
|
|
44
|
-
|
|
45
|
-
g as cloneTransform,
|
|
46
|
-
r as syncProjection,
|
|
47
|
-
d as transformToViewState
|
|
24
|
+
c as normalizeStyle
|
|
48
25
|
};
|
|
49
26
|
//# sourceMappingURL=index.es234.js.map
|
package/dist/index.es234.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es234.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/
|
|
1
|
+
{"version":3,"file":"index.es234.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"AAAA,MAAMA,IAAW,CAAC,QAAQ,UAAU,gBAAgB,WAAW,WAAW,UAAU,QAAQ;AAIrF,SAASC,EAAeC,GAAO;AAClC,MAAI,CAACA;AACM,WAAA;AAQP,MANA,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,SAEd,CAACA,EAAM;AACA,WAAAA;AAEX,QAAMC,IAAa,CAAA;AACR,aAAAC,KAASF,EAAM;AACX,IAAAC,EAAAC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAASE,MAAA;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAC,GAAGF,CAAK,GAGzC,OAAOE,EAAgB;AAIrB,UAAAC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,IAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACID,EAAAE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAAA,CAC7B;AAEM,SAAA,EAAE,GAAGF,GAAO,QAAAG;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index.es235.js
CHANGED
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (!r)
|
|
4
|
-
return null;
|
|
5
|
-
if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
|
|
6
|
-
return r;
|
|
7
|
-
const t = {};
|
|
8
|
-
for (const e of r.layers)
|
|
9
|
-
t[e.id] = e;
|
|
10
|
-
const f = r.layers.map((e) => {
|
|
11
|
-
let n = null;
|
|
12
|
-
"interactive" in e && (n = Object.assign({}, e), delete n.interactive);
|
|
13
|
-
const o = t[e.ref];
|
|
14
|
-
if (o) {
|
|
15
|
-
n = n || Object.assign({}, e), delete n.ref;
|
|
16
|
-
for (const i of a)
|
|
17
|
-
i in o && (n[i] = o[i]);
|
|
18
|
-
}
|
|
19
|
-
return n || e;
|
|
20
|
-
});
|
|
21
|
-
return { ...r, layers: f };
|
|
22
|
-
}
|
|
1
|
+
import t from "./index.es206.js";
|
|
2
|
+
const a = t("Object");
|
|
23
3
|
export {
|
|
24
|
-
|
|
4
|
+
a as default
|
|
25
5
|
};
|
|
26
6
|
//# sourceMappingURL=index.es235.js.map
|
package/dist/index.es235.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es235.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es235.js","sources":["../../../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["hasObjectTag","tagTester"],"mappings":";AAEA,MAAeA,IAAAC,EAAU,QAAQ;","x_google_ignoreList":[0]}
|
package/dist/index.es236.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { MAX_ARRAY_INDEX as o } from "./index.es24.js";
|
|
2
|
+
function u(e) {
|
|
3
|
+
return function(t) {
|
|
4
|
+
var r = e(t);
|
|
5
|
+
return typeof r == "number" && r >= 0 && r <= o;
|
|
4
6
|
};
|
|
5
7
|
}
|
|
6
8
|
export {
|
|
7
|
-
|
|
9
|
+
u as default
|
|
8
10
|
};
|
|
9
11
|
//# sourceMappingURL=index.es236.js.map
|