@performant-software/geospatial 2.1.0-beta.10 → 2.1.0-beta.12
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.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs176.js.map +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs177.js.map +1 -1
- package/dist/index.cjs178.js +4 -1
- package/dist/index.cjs178.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs182.js.map +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 -1
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js +1 -4
- 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.cjs19.js.map +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 +1 -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.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs206.js +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.cjs21.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs24.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs3.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs5.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs57.js.map +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs58.js.map +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es.js +8 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +39 -2102
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es11.js +2102 -19
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +19 -12
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es122.js +2 -2
- package/dist/index.es123.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es129.js +1 -1
- package/dist/index.es13.js +12 -6
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +6 -5
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +6 -28
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es16.js +6 -8
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es17.js +5 -5
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +7 -320
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es177.js +144 -71
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +12197 -3
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +3 -18
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es18.js +28 -10
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es180.js +3 -13
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +33 -28
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +3 -7
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +23 -2
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +2 -10
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +3 -150
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +2 -12199
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +34 -3
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +14 -2
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +13 -35
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js +8 -17
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es190.js +11 -3
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +319 -21
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +77 -2
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +5 -3
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +18 -2
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +10 -31
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +31 -13
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +4 -13
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +2 -9
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es2.js +3 -3
- package/dist/index.es20.js +5 -5
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es206.js +2 -2
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +2 -2
- package/dist/index.es21.js +9 -4
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es211.js +2 -2
- package/dist/index.es216.js +1 -1
- package/dist/index.es218.js +1 -1
- package/dist/index.es22.js +17 -5
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es220.js +1 -1
- package/dist/index.es225.js +1 -1
- package/dist/index.es226.js +1 -1
- package/dist/index.es229.js +1 -1
- package/dist/index.es23.js +5 -7
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es232.js +1 -1
- package/dist/index.es235.js +1 -1
- package/dist/index.es238.js +1 -1
- package/dist/index.es24.js +5 -7
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es241.js +2 -2
- package/dist/index.es243.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es247.js +1 -1
- package/dist/index.es25.js +5 -4
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es250.js +4 -15
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +15 -4
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +2 -2
- package/dist/index.es26.js +7 -4
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +6 -6
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +4 -15
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +4 -12
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +22 -63
- package/dist/index.es3.js.map +1 -1
- package/dist/index.es30.js +7 -15
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +14 -6
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +12 -5
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +15 -4
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +6 -17
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +5 -18
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +4 -14
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +17 -5
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +17 -6
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +12 -8
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +8 -8
- package/dist/index.es40.js +6 -4
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +6 -18
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +10 -6
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +4 -6
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +21 -1
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +1 -39
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +1 -1
- package/dist/index.es49.js +1 -1
- package/dist/index.es5.js +17 -17
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es51.js +12 -12
- package/dist/index.es57.js +107 -2
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js +10 -107
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js +2 -10
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +6 -6
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +4 -4
- package/dist/index.es62.js +2 -2
- package/dist/index.es63.js +2 -2
- package/dist/index.es64.js +2 -2
- package/dist/index.es65.js +2 -2
- package/dist/index.es66.js +2 -2
- package/dist/index.es67.js +2 -2
- package/dist/index.es68.js +2 -2
- package/dist/index.es69.js +2 -2
- package/dist/index.es7.js +7 -7
- package/dist/index.es70.js +2 -2
- package/dist/index.es74.js +26 -26
- package/dist/index.es75.js +2 -2
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +1 -1
- package/dist/index.es89.js +2 -2
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es96.js +4 -4
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
- package/src/components/GeoJsonLayer.js +10 -66
- package/src/components/LocationMarkers.js +4 -4
- package/src/index.js +1 -0
- package/src/utils/MapStyles.js +9 -3
- package/types/components/GeoJsonLayer.js.flow +10 -66
- package/types/components/LocationMarkers.js.flow +4 -4
- package/types/index.js.flow +1 -0
- package/types/utils/MapStyles.js.flow +9 -3
package/dist/index.es7.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { j as s } from "./index.
|
|
2
|
-
import m from "./index.
|
|
1
|
+
import { j as s } from "./index.es14.js";
|
|
2
|
+
import m from "./index.es11.js";
|
|
3
3
|
import C from "./index.es46.js";
|
|
4
4
|
import { useState as b, useRef as p, useCallback as L, useMemo as h, useEffect as x } from "react";
|
|
5
|
-
import { Map as D } from "./index.
|
|
6
|
-
import i from "./index.
|
|
7
|
-
import "./index.es15.js";
|
|
8
|
-
import "./index.es16.js";
|
|
9
|
-
import "./index.es17.js";
|
|
5
|
+
import { Map as D } from "./index.es12.js";
|
|
6
|
+
import i from "./index.es17.js";
|
|
10
7
|
import "./index.es18.js";
|
|
11
8
|
import "./index.es19.js";
|
|
12
9
|
import "./index.es20.js";
|
|
@@ -31,6 +28,9 @@ import "./index.es38.js";
|
|
|
31
28
|
import "./index.es39.js";
|
|
32
29
|
import "./index.es40.js";
|
|
33
30
|
import "./index.es41.js";
|
|
31
|
+
import "./index.es42.js";
|
|
32
|
+
import "./index.es43.js";
|
|
33
|
+
import "./index.es44.js";
|
|
34
34
|
import R from "./index.es2.js";
|
|
35
35
|
import O from "./index.es9.js";
|
|
36
36
|
import "./index.es47.js";
|
package/dist/index.es70.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
2
|
import { useContext as f, useRef as y, useState as m, useMemo as g, useEffect as S, cloneElement as h } from "react";
|
|
3
3
|
import { MapContext as C } from "./index.es61.js";
|
|
4
|
-
import s from "./index.
|
|
5
|
-
import { deepEqual as v } from "./index.
|
|
4
|
+
import s from "./index.es197.js";
|
|
5
|
+
import { deepEqual as v } from "./index.es196.js";
|
|
6
6
|
let x = 0;
|
|
7
7
|
function U(t, e, a) {
|
|
8
8
|
if (t.style && t.style._loaded) {
|
package/dist/index.es74.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VERSION as r } from "./index.
|
|
1
|
+
import { VERSION as r } from "./index.es18.js";
|
|
2
2
|
import { default as o } from "./index.es76.js";
|
|
3
3
|
import { default as l } from "./index.es77.js";
|
|
4
4
|
import { default as u } from "./index.es78.js";
|
|
@@ -14,17 +14,17 @@ import { default as S } from "./index.es87.js";
|
|
|
14
14
|
import { default as N } from "./index.es88.js";
|
|
15
15
|
import { default as v } from "./index.es89.js";
|
|
16
16
|
import { default as M } from "./index.es90.js";
|
|
17
|
-
import { default as W } from "./index.
|
|
18
|
-
import { default as F } from "./index.
|
|
17
|
+
import { default as W } from "./index.es19.js";
|
|
18
|
+
import { default as F } from "./index.es21.js";
|
|
19
19
|
import { default as V } from "./index.es91.js";
|
|
20
20
|
import { default as P } from "./index.es92.js";
|
|
21
21
|
import { default as U } from "./index.es93.js";
|
|
22
22
|
import { default as G } from "./index.es94.js";
|
|
23
23
|
import { default as J } from "./index.es95.js";
|
|
24
24
|
import { default as X } from "./index.es96.js";
|
|
25
|
-
import { default as Z } from "./index.
|
|
26
|
-
import { default as $ } from "./index.
|
|
27
|
-
import { default as te } from "./index.
|
|
25
|
+
import { default as Z } from "./index.es23.js";
|
|
26
|
+
import { default as $ } from "./index.es24.js";
|
|
27
|
+
import { default as te } from "./index.es25.js";
|
|
28
28
|
import { default as re } from "./index.es97.js";
|
|
29
29
|
import { default as oe } from "./index.es98.js";
|
|
30
30
|
import { default as le } from "./index.es99.js";
|
|
@@ -44,27 +44,27 @@ import { default as We } from "./index.es112.js";
|
|
|
44
44
|
import { default as Fe } from "./index.es113.js";
|
|
45
45
|
import { default as Ve } from "./index.es114.js";
|
|
46
46
|
import { default as Pe } from "./index.es115.js";
|
|
47
|
-
import { default as Ue } from "./index.
|
|
47
|
+
import { default as Ue } from "./index.es26.js";
|
|
48
48
|
import { default as Ge } from "./index.es116.js";
|
|
49
49
|
import { default as Je } from "./index.es117.js";
|
|
50
50
|
import { default as Xe, default as Ye } from "./index.es118.js";
|
|
51
51
|
import { default as _e } from "./index.es119.js";
|
|
52
52
|
import { default as et } from "./index.es120.js";
|
|
53
53
|
import { default as at } from "./index.es121.js";
|
|
54
|
-
import { default as ft } from "./index.
|
|
55
|
-
import { default as st } from "./index.
|
|
56
|
-
import { default as dt } from "./index.
|
|
54
|
+
import { default as ft } from "./index.es28.js";
|
|
55
|
+
import { default as st } from "./index.es29.js";
|
|
56
|
+
import { default as dt } from "./index.es30.js";
|
|
57
57
|
import { default as pt } from "./index.es122.js";
|
|
58
58
|
import { default as xt } from "./index.es123.js";
|
|
59
59
|
import { default as nt } from "./index.es124.js";
|
|
60
60
|
import { default as yt } from "./index.es125.js";
|
|
61
|
-
import { default as gt } from "./index.
|
|
62
|
-
import { default as kt } from "./index.
|
|
63
|
-
import { default as Et } from "./index.
|
|
64
|
-
import { default as wt } from "./index.
|
|
61
|
+
import { default as gt } from "./index.es27.js";
|
|
62
|
+
import { default as kt } from "./index.es31.js";
|
|
63
|
+
import { default as Et } from "./index.es32.js";
|
|
64
|
+
import { default as wt } from "./index.es33.js";
|
|
65
65
|
import { default as It } from "./index.es126.js";
|
|
66
|
-
import { default as jt } from "./index.
|
|
67
|
-
import { default as qt } from "./index.
|
|
66
|
+
import { default as jt } from "./index.es34.js";
|
|
67
|
+
import { default as qt } from "./index.es35.js";
|
|
68
68
|
import { default as zt } from "./index.es127.js";
|
|
69
69
|
import { default as Rt } from "./index.es128.js";
|
|
70
70
|
import { default as Dt } from "./index.es129.js";
|
|
@@ -72,7 +72,7 @@ import { default as Kt } from "./index.es130.js";
|
|
|
72
72
|
import { default as Lt } from "./index.es131.js";
|
|
73
73
|
import { default as Tt } from "./index.es132.js";
|
|
74
74
|
import { default as Ct } from "./index.es133.js";
|
|
75
|
-
import { default as Ht } from "./index.
|
|
75
|
+
import { default as Ht } from "./index.es36.js";
|
|
76
76
|
import { default as Qt } from "./index.es134.js";
|
|
77
77
|
import { default as Yt } from "./index.es135.js";
|
|
78
78
|
import { default as _t } from "./index.es136.js";
|
|
@@ -90,7 +90,7 @@ import { default as Sa } from "./index.es147.js";
|
|
|
90
90
|
import { default as Na, default as qa } from "./index.es148.js";
|
|
91
91
|
import { default as za, default as Ma } from "./index.es149.js";
|
|
92
92
|
import { default as Wa, default as Da, default as Fa } from "./index.es150.js";
|
|
93
|
-
import { default as Va } from "./index.
|
|
93
|
+
import { default as Va } from "./index.es37.js";
|
|
94
94
|
import { default as Pa } from "./index.es151.js";
|
|
95
95
|
import { default as Ua } from "./index.es152.js";
|
|
96
96
|
import { default as Ga } from "./index.es153.js";
|
|
@@ -104,27 +104,27 @@ import { default as or } from "./index.es160.js";
|
|
|
104
104
|
import { default as lr } from "./index.es161.js";
|
|
105
105
|
import { default as ur } from "./index.es162.js";
|
|
106
106
|
import { default as mr } from "./index.es163.js";
|
|
107
|
-
import { default as ir } from "./index.
|
|
108
|
-
import { default as cr } from "./index.
|
|
107
|
+
import { default as ir } from "./index.es38.js";
|
|
108
|
+
import { default as cr } from "./index.es39.js";
|
|
109
109
|
import { default as hr, default as gr, default as br } from "./index.es164.js";
|
|
110
110
|
import { default as Ar } from "./index.es165.js";
|
|
111
111
|
import { default as Or } from "./index.es166.js";
|
|
112
112
|
import { default as Br, default as Ir, default as Sr } from "./index.es167.js";
|
|
113
113
|
import { default as Nr } from "./index.es168.js";
|
|
114
114
|
import { default as vr } from "./index.es169.js";
|
|
115
|
-
import { default as Mr } from "./index.
|
|
115
|
+
import { default as Mr } from "./index.es40.js";
|
|
116
116
|
import { default as Wr, default as Dr } from "./index.es170.js";
|
|
117
|
-
import { default as Kr } from "./index.
|
|
117
|
+
import { default as Kr } from "./index.es41.js";
|
|
118
118
|
import { default as Lr } from "./index.es171.js";
|
|
119
|
-
import { default as Tr } from "./index.
|
|
119
|
+
import { default as Tr } from "./index.es42.js";
|
|
120
120
|
import { default as Cr, default as Gr } from "./index.es172.js";
|
|
121
|
-
import { default as Jr } from "./index.
|
|
121
|
+
import { default as Jr } from "./index.es43.js";
|
|
122
122
|
import { default as Xr } from "./index.es173.js";
|
|
123
123
|
import { default as Zr } from "./index.es174.js";
|
|
124
124
|
import { default as $r } from "./index.es175.js";
|
|
125
125
|
import { default as tf } from "./index.es75.js";
|
|
126
|
-
import "./index.
|
|
127
|
-
import { default as rf } from "./index.
|
|
126
|
+
import "./index.es44.js";
|
|
127
|
+
import { default as rf } from "./index.es22.js";
|
|
128
128
|
export {
|
|
129
129
|
r as VERSION,
|
|
130
130
|
Tt as after,
|
package/dist/index.es75.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import r from "./index.
|
|
1
|
+
import r from "./index.es22.js";
|
|
2
2
|
import n from "./index.es142.js";
|
|
3
3
|
import f from "./index.es103.js";
|
|
4
|
-
import { push as u } from "./index.
|
|
4
|
+
import { push as u } from "./index.es18.js";
|
|
5
5
|
import m from "./index.es225.js";
|
|
6
6
|
function l(o) {
|
|
7
7
|
return n(f(o), function(t) {
|
package/dist/index.es8.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as e } from "./index.
|
|
1
|
+
import { j as e } from "./index.es14.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Source as o, Layer as i } from "./index.
|
|
3
|
+
import { Source as o, Layer as i } from "./index.es12.js";
|
|
4
4
|
const m = (t) => /* @__PURE__ */ e.jsx(
|
|
5
5
|
o,
|
|
6
6
|
{
|
package/dist/index.es80.js
CHANGED
package/dist/index.es89.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./index.es199.js";
|
|
2
|
-
import i from "./index.
|
|
2
|
+
import i from "./index.es19.js";
|
|
3
3
|
import a from "./index.es88.js";
|
|
4
|
-
import { hasStringTagBug as e } from "./index.
|
|
4
|
+
import { hasStringTagBug as e } from "./index.es20.js";
|
|
5
5
|
var f = r("DataView");
|
|
6
6
|
function o(t) {
|
|
7
7
|
return t != null && i(t.getInt8) && a(t.buffer);
|
package/dist/index.es90.js
CHANGED
package/dist/index.es91.js
CHANGED
package/dist/index.es92.js
CHANGED
package/dist/index.es93.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { supportsArrayBuffer as i, nativeIsView as t, toString as a } from "./index.
|
|
1
|
+
import { supportsArrayBuffer as i, nativeIsView as t, toString as a } from "./index.es18.js";
|
|
2
2
|
import e from "./index.es89.js";
|
|
3
3
|
import o from "./index.es114.js";
|
|
4
4
|
import n from "./index.es201.js";
|
package/dist/index.es94.js
CHANGED
package/dist/index.es96.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import m from "./index.
|
|
2
|
-
import { toString as g, SymbolProto as h } from "./index.
|
|
1
|
+
import m from "./index.es22.js";
|
|
2
|
+
import { toString as g, SymbolProto as h } from "./index.es18.js";
|
|
3
3
|
import j from "./index.es203.js";
|
|
4
4
|
import D from "./index.es93.js";
|
|
5
|
-
import y from "./index.
|
|
6
|
-
import { hasStringTagBug as V } from "./index.
|
|
5
|
+
import y from "./index.es19.js";
|
|
6
|
+
import { hasStringTagBug as V } from "./index.es20.js";
|
|
7
7
|
import v from "./index.es89.js";
|
|
8
8
|
import w from "./index.es98.js";
|
|
9
9
|
import q from "./index.es200.js";
|
package/dist/index.es98.js
CHANGED
package/dist/index.es99.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// @flow
|
|
2
2
|
|
|
3
3
|
import React, {
|
|
4
|
-
useCallback,
|
|
5
4
|
useEffect,
|
|
6
|
-
useMemo,
|
|
7
5
|
useState
|
|
8
6
|
} from 'react';
|
|
9
7
|
import { Layer, Source } from 'react-map-gl';
|
|
10
|
-
import
|
|
8
|
+
import MapStyles from '../utils/MapStyles';
|
|
11
9
|
|
|
12
10
|
type Props = {
|
|
13
11
|
data?: { [key: string]: any },
|
|
@@ -17,69 +15,9 @@ type Props = {
|
|
|
17
15
|
url?: string
|
|
18
16
|
};
|
|
19
17
|
|
|
20
|
-
const DEFAULT_COLOR = '#CC3333';
|
|
21
|
-
const HIGHLIGHT_COLOR = '#990000';
|
|
22
|
-
|
|
23
|
-
const DEFAULT_FILL_STYLES = {
|
|
24
|
-
'fill-color': DEFAULT_COLOR,
|
|
25
|
-
'fill-opacity': 0.2
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const DEFAULT_LINE_STYLES = {
|
|
29
|
-
'line-color': HIGHLIGHT_COLOR,
|
|
30
|
-
'line-opacity': 0.6
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const DEFAULT_POINT_STYLES = {
|
|
34
|
-
'circle-radius': [
|
|
35
|
-
'interpolate',
|
|
36
|
-
['linear'],
|
|
37
|
-
['number', ['get', 'point_count'], 1],
|
|
38
|
-
0, 4,
|
|
39
|
-
10, 14
|
|
40
|
-
],
|
|
41
|
-
'circle-stroke-width': 1,
|
|
42
|
-
'circle-color': DEFAULT_COLOR,
|
|
43
|
-
'circle-stroke-color': HIGHLIGHT_COLOR
|
|
44
|
-
};
|
|
45
|
-
|
|
46
18
|
const GeoJsonLayer = (props: Props) => {
|
|
47
19
|
const [data, setData] = useState(props.data);
|
|
48
20
|
|
|
49
|
-
/**
|
|
50
|
-
* Returns the layer style for the passed style and default.
|
|
51
|
-
*
|
|
52
|
-
* @type {function(*, *): *}
|
|
53
|
-
*/
|
|
54
|
-
const getLayerStyles = useCallback((style, defaultStyle) => _.defaults(style, defaultStyle), []);
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Sets the fill layer style.
|
|
58
|
-
*
|
|
59
|
-
* @type {*}
|
|
60
|
-
*/
|
|
61
|
-
const fillStyle = useMemo(() => (
|
|
62
|
-
getLayerStyles(props.fillStyle, DEFAULT_FILL_STYLES)
|
|
63
|
-
), [getLayerStyles, props.fillStyle]);
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Sets the line layer style.
|
|
67
|
-
*
|
|
68
|
-
* @type {*}
|
|
69
|
-
*/
|
|
70
|
-
const lineStyle = useMemo(() => (
|
|
71
|
-
getLayerStyles(props.lineStyle, DEFAULT_LINE_STYLES)
|
|
72
|
-
), [getLayerStyles, props.lineStyle]);
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Sets the point layer style.
|
|
76
|
-
*
|
|
77
|
-
* @type {*}
|
|
78
|
-
*/
|
|
79
|
-
const pointStyle = useMemo(() => (
|
|
80
|
-
getLayerStyles(props.pointStyle, DEFAULT_POINT_STYLES)
|
|
81
|
-
), [getLayerStyles, props.pointStyle]);
|
|
82
|
-
|
|
83
21
|
/**
|
|
84
22
|
* If the data is passed as a URL, fetches the passed URL and sets the response on the state.
|
|
85
23
|
*/
|
|
@@ -98,21 +36,27 @@ const GeoJsonLayer = (props: Props) => {
|
|
|
98
36
|
>
|
|
99
37
|
<Layer
|
|
100
38
|
filter={['!=', '$type', 'Point']}
|
|
101
|
-
paint={fillStyle}
|
|
39
|
+
paint={props.fillStyle}
|
|
102
40
|
type='fill'
|
|
103
41
|
/>
|
|
104
42
|
<Layer
|
|
105
43
|
filter={['!=', '$type', 'Point']}
|
|
106
|
-
paint={lineStyle}
|
|
44
|
+
paint={props.lineStyle}
|
|
107
45
|
type='line'
|
|
108
46
|
/>
|
|
109
47
|
<Layer
|
|
110
48
|
filter={['==', '$type', 'Point']}
|
|
111
|
-
paint={pointStyle}
|
|
49
|
+
paint={props.pointStyle}
|
|
112
50
|
type='circle'
|
|
113
51
|
/>
|
|
114
52
|
</Source>
|
|
115
53
|
);
|
|
116
54
|
};
|
|
117
55
|
|
|
56
|
+
GeoJsonLayer.defaultProps = {
|
|
57
|
+
fillStyle: MapStyles.fill,
|
|
58
|
+
pointStyle: MapStyles.point,
|
|
59
|
+
strokeStyle: MapStyles.stroke
|
|
60
|
+
};
|
|
61
|
+
|
|
118
62
|
export default GeoJsonLayer;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { MixedGeoJSONLayer, PulsingMarkerLayer, useMap } from '@peripleo/maplibre';
|
|
4
4
|
import React, { useEffect } from 'react';
|
|
5
|
-
import
|
|
5
|
+
import MapStyles from '../utils/MapStyles';
|
|
6
6
|
import MapUtils from '../utils/Map';
|
|
7
7
|
|
|
8
8
|
type Props = {
|
|
@@ -80,9 +80,9 @@ const LocationMarkers = (props: Props) => {
|
|
|
80
80
|
|
|
81
81
|
LocationMarkers.defaultProps = {
|
|
82
82
|
buffer: DEFAULT_BUFFER,
|
|
83
|
-
fillStyle:
|
|
84
|
-
pointStyle:
|
|
85
|
-
strokeStyle:
|
|
83
|
+
fillStyle: MapStyles.fill,
|
|
84
|
+
pointStyle: MapStyles.point,
|
|
85
|
+
strokeStyle: MapStyles.stroke
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
export default LocationMarkers;
|
package/src/index.js
CHANGED
package/src/utils/MapStyles.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @flow
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const point = {
|
|
4
4
|
type: 'circle',
|
|
5
5
|
paint: {
|
|
6
6
|
'circle-radius': [
|
|
@@ -21,7 +21,7 @@ export const DEFAULT_POINT_STYLE = {
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
const fill = {
|
|
25
25
|
type: 'fill',
|
|
26
26
|
paint: {
|
|
27
27
|
'fill-color': '#ff623b',
|
|
@@ -29,10 +29,16 @@ export const DEFAULT_FILL_STYLE = {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
const stroke = {
|
|
33
33
|
type: 'line',
|
|
34
34
|
paint: {
|
|
35
35
|
'line-color': '#ff623b',
|
|
36
36
|
'line-opacity': 0.6
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
point,
|
|
42
|
+
fill,
|
|
43
|
+
stroke
|
|
44
|
+
};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// @flow
|
|
2
2
|
|
|
3
3
|
import React, {
|
|
4
|
-
useCallback,
|
|
5
4
|
useEffect,
|
|
6
|
-
useMemo,
|
|
7
5
|
useState
|
|
8
6
|
} from 'react';
|
|
9
7
|
import { Layer, Source } from 'react-map-gl';
|
|
10
|
-
import
|
|
8
|
+
import MapStyles from '../utils/MapStyles';
|
|
11
9
|
|
|
12
10
|
type Props = {
|
|
13
11
|
data?: { [key: string]: any },
|
|
@@ -17,69 +15,9 @@ type Props = {
|
|
|
17
15
|
url?: string
|
|
18
16
|
};
|
|
19
17
|
|
|
20
|
-
const DEFAULT_COLOR = '#CC3333';
|
|
21
|
-
const HIGHLIGHT_COLOR = '#990000';
|
|
22
|
-
|
|
23
|
-
const DEFAULT_FILL_STYLES = {
|
|
24
|
-
'fill-color': DEFAULT_COLOR,
|
|
25
|
-
'fill-opacity': 0.2
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const DEFAULT_LINE_STYLES = {
|
|
29
|
-
'line-color': HIGHLIGHT_COLOR,
|
|
30
|
-
'line-opacity': 0.6
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const DEFAULT_POINT_STYLES = {
|
|
34
|
-
'circle-radius': [
|
|
35
|
-
'interpolate',
|
|
36
|
-
['linear'],
|
|
37
|
-
['number', ['get', 'point_count'], 1],
|
|
38
|
-
0, 4,
|
|
39
|
-
10, 14
|
|
40
|
-
],
|
|
41
|
-
'circle-stroke-width': 1,
|
|
42
|
-
'circle-color': DEFAULT_COLOR,
|
|
43
|
-
'circle-stroke-color': HIGHLIGHT_COLOR
|
|
44
|
-
};
|
|
45
|
-
|
|
46
18
|
const GeoJsonLayer = (props: Props) => {
|
|
47
19
|
const [data, setData] = useState(props.data);
|
|
48
20
|
|
|
49
|
-
/**
|
|
50
|
-
* Returns the layer style for the passed style and default.
|
|
51
|
-
*
|
|
52
|
-
* @type {function(*, *): *}
|
|
53
|
-
*/
|
|
54
|
-
const getLayerStyles = useCallback((style, defaultStyle) => _.defaults(style, defaultStyle), []);
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Sets the fill layer style.
|
|
58
|
-
*
|
|
59
|
-
* @type {*}
|
|
60
|
-
*/
|
|
61
|
-
const fillStyle = useMemo(() => (
|
|
62
|
-
getLayerStyles(props.fillStyle, DEFAULT_FILL_STYLES)
|
|
63
|
-
), [getLayerStyles, props.fillStyle]);
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Sets the line layer style.
|
|
67
|
-
*
|
|
68
|
-
* @type {*}
|
|
69
|
-
*/
|
|
70
|
-
const lineStyle = useMemo(() => (
|
|
71
|
-
getLayerStyles(props.lineStyle, DEFAULT_LINE_STYLES)
|
|
72
|
-
), [getLayerStyles, props.lineStyle]);
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Sets the point layer style.
|
|
76
|
-
*
|
|
77
|
-
* @type {*}
|
|
78
|
-
*/
|
|
79
|
-
const pointStyle = useMemo(() => (
|
|
80
|
-
getLayerStyles(props.pointStyle, DEFAULT_POINT_STYLES)
|
|
81
|
-
), [getLayerStyles, props.pointStyle]);
|
|
82
|
-
|
|
83
21
|
/**
|
|
84
22
|
* If the data is passed as a URL, fetches the passed URL and sets the response on the state.
|
|
85
23
|
*/
|
|
@@ -98,21 +36,27 @@ const GeoJsonLayer = (props: Props) => {
|
|
|
98
36
|
>
|
|
99
37
|
<Layer
|
|
100
38
|
filter={['!=', '$type', 'Point']}
|
|
101
|
-
paint={fillStyle}
|
|
39
|
+
paint={props.fillStyle}
|
|
102
40
|
type='fill'
|
|
103
41
|
/>
|
|
104
42
|
<Layer
|
|
105
43
|
filter={['!=', '$type', 'Point']}
|
|
106
|
-
paint={lineStyle}
|
|
44
|
+
paint={props.lineStyle}
|
|
107
45
|
type='line'
|
|
108
46
|
/>
|
|
109
47
|
<Layer
|
|
110
48
|
filter={['==', '$type', 'Point']}
|
|
111
|
-
paint={pointStyle}
|
|
49
|
+
paint={props.pointStyle}
|
|
112
50
|
type='circle'
|
|
113
51
|
/>
|
|
114
52
|
</Source>
|
|
115
53
|
);
|
|
116
54
|
};
|
|
117
55
|
|
|
56
|
+
GeoJsonLayer.defaultProps = {
|
|
57
|
+
fillStyle: MapStyles.fill,
|
|
58
|
+
pointStyle: MapStyles.point,
|
|
59
|
+
strokeStyle: MapStyles.stroke
|
|
60
|
+
};
|
|
61
|
+
|
|
118
62
|
export default GeoJsonLayer;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { MixedGeoJSONLayer, PulsingMarkerLayer, useMap } from '@peripleo/maplibre';
|
|
4
4
|
import React, { useEffect } from 'react';
|
|
5
|
-
import
|
|
5
|
+
import MapStyles from '../utils/MapStyles';
|
|
6
6
|
import MapUtils from '../utils/Map';
|
|
7
7
|
|
|
8
8
|
type Props = {
|
|
@@ -80,9 +80,9 @@ const LocationMarkers = (props: Props) => {
|
|
|
80
80
|
|
|
81
81
|
LocationMarkers.defaultProps = {
|
|
82
82
|
buffer: DEFAULT_BUFFER,
|
|
83
|
-
fillStyle:
|
|
84
|
-
pointStyle:
|
|
85
|
-
strokeStyle:
|
|
83
|
+
fillStyle: MapStyles.fill,
|
|
84
|
+
pointStyle: MapStyles.point,
|
|
85
|
+
strokeStyle: MapStyles.stroke
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
export default LocationMarkers;
|
package/types/index.js.flow
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @flow
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const point = {
|
|
4
4
|
type: 'circle',
|
|
5
5
|
paint: {
|
|
6
6
|
'circle-radius': [
|
|
@@ -21,7 +21,7 @@ export const DEFAULT_POINT_STYLE = {
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
const fill = {
|
|
25
25
|
type: 'fill',
|
|
26
26
|
paint: {
|
|
27
27
|
'fill-color': '#ff623b',
|
|
@@ -29,10 +29,16 @@ export const DEFAULT_FILL_STYLE = {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
const stroke = {
|
|
33
33
|
type: 'line',
|
|
34
34
|
paint: {
|
|
35
35
|
'line-color': '#ff623b',
|
|
36
36
|
'line-opacity': 0.6
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
point,
|
|
42
|
+
fill,
|
|
43
|
+
stroke
|
|
44
|
+
};
|