@performant-software/geospatial 2.3.12-beta.4 → 2.3.12-beta.5
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.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +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.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.cjs25.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs6.js.map +1 -1
- package/dist/index.cjs60.js +9 -1
- package/dist/index.cjs60.js.map +1 -1
- package/dist/index.cjs61.js +19 -1
- package/dist/index.cjs61.js.map +1 -1
- package/dist/index.cjs62.js +1 -9
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -19
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +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.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs82.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.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es103.js +3 -3
- package/dist/index.es104.js +1 -1
- package/dist/index.es105.js +2 -2
- package/dist/index.es106.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es117.js +2 -2
- package/dist/index.es118.js +2 -2
- package/dist/index.es119.js +1 -1
- package/dist/index.es123.js +2 -2
- package/dist/index.es126.js +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es133.js +1 -1
- package/dist/index.es14.js +2 -2
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +2 -2
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es149.js +2 -2
- package/dist/index.es15.js +5 -5
- package/dist/index.es150.js +2 -2
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +2 -2
- package/dist/index.es157.js +1 -1
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +2 -2
- package/dist/index.es161.js +2 -2
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +2 -2
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +2 -2
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es17.js +3 -3
- package/dist/index.es170.js +1 -1
- package/dist/index.es176.js +1 -1
- package/dist/index.es177.js +2 -2
- package/dist/index.es178.js +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es183.js +2 -2
- package/dist/index.es19.js +2 -2
- package/dist/index.es206.js +44 -6
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +22 -4
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +8 -4
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +5 -3
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +2 -2
- package/dist/index.es210.js +4 -3
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +3 -9
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +3 -22
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +8 -21
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +19 -11
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +19 -14
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +13 -5
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +16 -8
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +5 -6
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +7 -20
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +2 -2
- package/dist/index.es220.js +5 -8
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +22 -9
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +10 -4
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +9 -11
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +4 -9
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +9 -21
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +8 -11
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +22 -18
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +12 -4
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +17 -16
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +4 -12
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +17 -3
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +11 -4
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +3 -45
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +4 -22
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +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.es25.js +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es29.js +2 -2
- package/dist/index.es30.js +2 -2
- package/dist/index.es31.js +2 -2
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +2 -2
- package/dist/index.es35.js +2 -2
- package/dist/index.es37.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +3 -3
- package/dist/index.es45.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es50.js +1 -1
- package/dist/index.es52.js +5 -5
- package/dist/index.es59.js +2 -6
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +4 -4
- package/dist/index.es6.js.map +1 -1
- package/dist/index.es60.js +30 -2
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js +602 -2
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +5 -29
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +2 -602
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +2 -107
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +107 -10
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +10 -2
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +2 -55
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +4 -48
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +55 -37
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +47 -11
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +38 -14
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +11 -29
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +10 -10
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +29 -13
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +12 -10
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +14 -4
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +11 -2
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es82.js +1 -1
- package/dist/index.es89.js +1 -1
- 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.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es97.js +1 -1
- package/package.json +1 -1
- package/src/components/LocationMarkers.js +2 -2
- package/types/components/LocationMarkers.js.flow +2 -2
package/dist/index.cjs76.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs76.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs76.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/scale-control.js"],"sourcesContent":["import { useEffect, useRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction ScaleControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.ScaleControl(props), {\n position: props.position\n });\n const propsRef = useRef(props);\n const prevProps = propsRef.current;\n propsRef.current = props;\n const { style } = props;\n if (props.maxWidth !== undefined && props.maxWidth !== prevProps.maxWidth) {\n ctrl.options.maxWidth = props.maxWidth;\n }\n if (props.unit !== undefined && props.unit !== prevProps.unit) {\n ctrl.setUnit(props.unit);\n }\n useEffect(() => {\n applyReactStyle(ctrl._container, style);\n }, [style]);\n return null;\n}\nexport default memo(ScaleControl);\n//# sourceMappingURL=scale-control.js.map"],"names":["ScaleControl","props","ctrl","useControl","mapLib","propsRef","useRef","prevProps","style","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAaC,EAAO,CACnB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,aAAaH,CAAK,EAAG,CACpE,SAAUA,EAAM,QAAA,CACnB,EACKI,EAAWC,SAAOL,CAAK,EACvBM,EAAYF,EAAS,QAC3BA,EAAS,QAAUJ,EACb,KAAA,CAAE,MAAAO,CAAU,EAAAP,EAClB,OAAIA,EAAM,WAAa,QAAaA,EAAM,WAAaM,EAAU,WACxDL,EAAA,QAAQ,SAAWD,EAAM,UAE9BA,EAAM,OAAS,QAAaA,EAAM,OAASM,EAAU,MAChDL,EAAA,QAAQD,EAAM,IAAI,EAE3BQ,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAR,EAAK,WAAYM,CAAK,CAAA,EACvC,CAACA,CAAK,CAAC,EACH,IACX,CACeG,OAAKX,CAAY","x_google_ignoreList":[0]}
|
package/dist/index.cjs77.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs69.js");function c(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const s=c(o),u=s.createContext(null);function i(){var e;const n=(e=o.useContext(u))===null||e===void 0?void 0:e.maps,t=o.useContext(a.MapContext);return o.useMemo(()=>({...n,current:t==null?void 0:t.map}),[n,t])}exports.MountedMapsContext=u;exports.useMap=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs77.js.map
|
package/dist/index.cjs77.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs77.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs77.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/use-map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useCallback, useMemo, useContext } from 'react';\nimport { MapContext } from './map';\nexport const MountedMapsContext = React.createContext(null);\nexport const MapProvider = props => {\n const [maps, setMaps] = useState({});\n const onMapMount = useCallback((map, id = 'default') => {\n setMaps(currMaps => {\n if (id === 'current') {\n throw new Error(\"'current' cannot be used as map id\");\n }\n if (currMaps[id]) {\n throw new Error(`Multiple maps with the same id: ${id}`);\n }\n return { ...currMaps, [id]: map };\n });\n }, []);\n const onMapUnmount = useCallback((id = 'default') => {\n setMaps(currMaps => {\n if (currMaps[id]) {\n const nextMaps = { ...currMaps };\n delete nextMaps[id];\n return nextMaps;\n }\n return currMaps;\n });\n }, []);\n return (React.createElement(MountedMapsContext.Provider, { value: {\n maps,\n onMapMount,\n onMapUnmount\n } }, props.children));\n};\nexport function useMap() {\n var _a;\n const maps = (_a = useContext(MountedMapsContext)) === null || _a === void 0 ? void 0 : _a.maps;\n const currentMap = useContext(MapContext);\n const mapsWithCurrent = useMemo(() => {\n return { ...maps, current: currentMap === null || currentMap === void 0 ? void 0 : currentMap.map };\n }, [maps, currentMap]);\n return mapsWithCurrent;\n}\n//# sourceMappingURL=use-map.js.map"],"names":["MountedMapsContext","React","useMap","_a","maps","useContext","currentMap","MapContext","useMemo"],"mappings":"iaAGaA,EAAqBC,EAAM,cAAc,IAAI,EA8BnD,SAASC,GAAS,CACjB,IAAAC,EACE,MAAAC,GAAQD,EAAKE,EAAW,WAAAL,CAAkB,KAAO,MAAQG,IAAO,OAAS,OAASA,EAAG,KACrFG,EAAaD,aAAWE,EAAAA,UAAU,EAIjC,OAHiBC,EAAAA,QAAQ,KACrB,CAAE,GAAGJ,EAAM,QAASE,GAAe,KAAgC,OAASA,EAAW,GAAI,GACnG,CAACF,EAAME,CAAU,CAAC,CAEzB","x_google_ignoreList":[0]}
|
package/dist/index.cjs79.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("react"),m=require("./index.
|
|
1
|
+
"use strict";const u=require("react"),m=require("./index.cjs69.js"),L=require("./index.cjs189.js"),s=require("./index.cjs188.js");function q(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:l,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)s.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)s.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}s.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||l!==o.maxzoom)&&t.setLayerZoomRange(e,f,l)}function g(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let x=0;function h(t){const e=u.useContext(m.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${x++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{q(e,r,t,a.current)}catch(y){console.warn(y)}else g(e,r,t);return a.current=t,null}module.exports=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs79.js.map
|
package/dist/index.cjs80.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("react"),f=require("./index.
|
|
1
|
+
"use strict";const l=require("react"),f=require("./index.cjs69.js"),d=require("./index.cjs189.js"),y=require("./index.cjs188.js");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const S=g(l);let m=0;function b(t,e,n){if(t.style&&t.style._loaded){const o={...n};return delete o.id,delete o.children,t.addSource(e,o),t.getSource(e)}return null}function h(t,e,n){d(e.id===n.id,"source id changed"),d(e.type===n.type,"source type changed");let o="",c=0;for(const r in e)r!=="children"&&r!=="id"&&!y.deepEqual(n[r],e[r])&&(o=r,c++);if(!c)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else if("setCoordinates"in t&&c===1&&o==="coordinates")t.setCoordinates(e.coordinates);else if("setUrl"in t)switch(o){case"url":t.setUrl(e.url);break;case"tiles":t.setTiles(e.tiles);break}else console.warn(`Unable to update <Source> prop: ${o}`)}function C(t){const e=l.useContext(f.MapContext).map.getMap(),n=l.useRef(t),[,o]=l.useState(0),c=l.useMemo(()=>t.id||`jsx-source-${m++}`,[]);l.useEffect(()=>{if(e){const r=()=>setTimeout(()=>o(i=>i+1),0);return e.on("styledata",r),r(),()=>{var i;if(e.off("styledata",r),e.style&&e.style._loaded&&e.getSource(c)){const u=(i=e.getStyle())===null||i===void 0?void 0:i.layers;if(u)for(const s of u)s.source===c&&e.removeLayer(s.id);e.removeSource(c)}}}},[e]);let a=e&&e.style&&e.getSource(c);return a?h(a,t,n.current):a=b(e,c,t),n.current=t,a&&S.Children.map(t.children,r=>r&&l.cloneElement(r,{source:c}))||null}module.exports=C;
|
|
2
2
|
//# sourceMappingURL=index.cjs80.js.map
|
package/dist/index.cjs82.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.cjs28.js"),s=require("./index.cjs149.js"),i=require("./index.cjs110.js"),c=require("./index.cjs24.js"),o=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs28.js"),s=require("./index.cjs149.js"),i=require("./index.cjs110.js"),c=require("./index.cjs24.js"),o=require("./index.cjs234.js");function p(e){return s(i(e),function(t){var u=r[t]=e[t];r.prototype[t]=function(){var n=[this._wrapped];return c.push.apply(n,arguments),o(this,u.apply(r,n))}}),r}module.exports=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs82.js.map
|
package/dist/index.cjs89.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs208.js"),r=t("String");module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs89.js.map
|
package/dist/index.cjs90.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs208.js"),r=e("Number");module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs90.js.map
|
package/dist/index.cjs91.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs208.js"),e=t("Date");module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs91.js.map
|
package/dist/index.cjs92.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs208.js"),s=e("RegExp");module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs92.js.map
|
package/dist/index.cjs93.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs208.js"),s=r("Error");module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs93.js.map
|
package/dist/index.cjs94.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs208.js"),t=s("Symbol");module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs94.js.map
|
package/dist/index.cjs95.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs208.js"),e=r("ArrayBuffer");module.exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs95.js.map
|
package/dist/index.cjs96.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs208.js"),r=require("./index.cjs25.js"),i=require("./index.cjs95.js"),s=require("./index.cjs26.js");var a=t("DataView");function n(e){return e!=null&&r(e.getInt8)&&i(e.buffer)}const u=s.hasStringTagBug?n:a;module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs96.js.map
|
package/dist/index.cjs97.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.cjs24.js"),e=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs24.js"),e=require("./index.cjs208.js"),s=r.nativeIsArray||e("Array");module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs97.js.map
|
package/dist/index.es100.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { supportsArrayBuffer as i, nativeIsView as t, toString as a } from "./index.es24.js";
|
|
2
2
|
import e from "./index.es96.js";
|
|
3
3
|
import o from "./index.es121.js";
|
|
4
|
-
import n from "./index.
|
|
4
|
+
import n from "./index.es210.js";
|
|
5
5
|
var s = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;
|
|
6
6
|
function f(r) {
|
|
7
7
|
return t ? t(r) && !e(r) : n(r) && s.test(a.call(r));
|
package/dist/index.es101.js
CHANGED
package/dist/index.es103.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import m from "./index.es28.js";
|
|
2
2
|
import { toString as g, SymbolProto as h } from "./index.es24.js";
|
|
3
|
-
import j from "./index.
|
|
3
|
+
import j from "./index.es212.js";
|
|
4
4
|
import D from "./index.es100.js";
|
|
5
5
|
import y from "./index.es25.js";
|
|
6
6
|
import { hasStringTagBug as V } from "./index.es26.js";
|
|
7
7
|
import v from "./index.es96.js";
|
|
8
8
|
import w from "./index.es105.js";
|
|
9
|
-
import q from "./index.
|
|
10
|
-
import d from "./index.
|
|
9
|
+
import q from "./index.es209.js";
|
|
10
|
+
import d from "./index.es213.js";
|
|
11
11
|
var B = "[object DataView]";
|
|
12
12
|
function c(e, r, f, n) {
|
|
13
13
|
if (e === r)
|
package/dist/index.es104.js
CHANGED
package/dist/index.es105.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./index.es84.js";
|
|
2
2
|
import { nativeKeys as f, hasEnumBug as m } from "./index.es24.js";
|
|
3
|
-
import n from "./index.
|
|
4
|
-
import o from "./index.
|
|
3
|
+
import n from "./index.es209.js";
|
|
4
|
+
import o from "./index.es215.js";
|
|
5
5
|
function c(r) {
|
|
6
6
|
if (!e(r))
|
|
7
7
|
return [];
|
package/dist/index.es106.js
CHANGED
package/dist/index.es111.js
CHANGED
package/dist/index.es112.js
CHANGED
package/dist/index.es113.js
CHANGED
package/dist/index.es114.js
CHANGED
package/dist/index.es117.js
CHANGED
package/dist/index.es118.js
CHANGED
package/dist/index.es119.js
CHANGED
package/dist/index.es123.js
CHANGED
package/dist/index.es126.js
CHANGED
package/dist/index.es130.js
CHANGED
package/dist/index.es133.js
CHANGED
package/dist/index.es14.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { commonjsGlobal as Je, getDefaultExportFromCjs as oo } from "./index.
|
|
2
|
-
import { __module as Zn } from "./index.
|
|
1
|
+
import { commonjsGlobal as Je, getDefaultExportFromCjs as oo } from "./index.es62.js";
|
|
2
|
+
import { __module as Zn } from "./index.es63.js";
|
|
3
3
|
(function(Wn, ao) {
|
|
4
4
|
(function(ze, de) {
|
|
5
5
|
Wn.exports = de();
|
package/dist/index.es141.js
CHANGED
package/dist/index.es142.js
CHANGED
package/dist/index.es143.js
CHANGED
package/dist/index.es144.js
CHANGED
package/dist/index.es145.js
CHANGED
package/dist/index.es146.js
CHANGED
package/dist/index.es147.js
CHANGED
package/dist/index.es149.js
CHANGED
package/dist/index.es15.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import p from "./index.
|
|
3
|
-
import "./index.es68.js";
|
|
4
|
-
import "./index.es69.js";
|
|
2
|
+
import p from "./index.es69.js";
|
|
5
3
|
import "./index.es70.js";
|
|
6
4
|
import "./index.es71.js";
|
|
7
5
|
import "./index.es72.js";
|
|
8
|
-
import
|
|
6
|
+
import "./index.es73.js";
|
|
9
7
|
import "./index.es74.js";
|
|
8
|
+
import m from "./index.es75.js";
|
|
9
|
+
import "./index.es76.js";
|
|
10
10
|
import a from "./index.es79.js";
|
|
11
11
|
import n from "./index.es80.js";
|
|
12
|
-
import { useMap as e } from "./index.
|
|
12
|
+
import { useMap as e } from "./index.es77.js";
|
|
13
13
|
function C() {
|
|
14
14
|
return e();
|
|
15
15
|
}
|
package/dist/index.es150.js
CHANGED
package/dist/index.es151.js
CHANGED
package/dist/index.es152.js
CHANGED
package/dist/index.es153.js
CHANGED
package/dist/index.es154.js
CHANGED
package/dist/index.es155.js
CHANGED
package/dist/index.es156.js
CHANGED
package/dist/index.es157.js
CHANGED
package/dist/index.es16.js
CHANGED
package/dist/index.es160.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import c from "./index.
|
|
1
|
+
import c from "./index.es230.js";
|
|
2
2
|
import s from "./index.es107.js";
|
|
3
|
-
import e from "./index.
|
|
3
|
+
import e from "./index.es220.js";
|
|
4
4
|
import I from "./index.es149.js";
|
|
5
5
|
function g(n, f, o) {
|
|
6
6
|
var r = -1 / 0, u = -1 / 0, i, l;
|
package/dist/index.es161.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import s from "./index.
|
|
1
|
+
import s from "./index.es230.js";
|
|
2
2
|
import a from "./index.es107.js";
|
|
3
|
-
import e from "./index.
|
|
3
|
+
import e from "./index.es220.js";
|
|
4
4
|
import I from "./index.es149.js";
|
|
5
5
|
function k(n, f, o) {
|
|
6
6
|
var i = 1 / 0, u = 1 / 0, r, l;
|
package/dist/index.es163.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import s from "./index.
|
|
1
|
+
import s from "./index.es230.js";
|
|
2
2
|
import v from "./index.es107.js";
|
|
3
|
-
import u from "./index.
|
|
3
|
+
import u from "./index.es211.js";
|
|
4
4
|
import o from "./index.es127.js";
|
|
5
5
|
import h from "./index.es169.js";
|
|
6
6
|
function M(r, a, e) {
|
package/dist/index.es164.js
CHANGED
package/dist/index.es165.js
CHANGED
package/dist/index.es166.js
CHANGED
package/dist/index.es167.js
CHANGED
package/dist/index.es168.js
CHANGED
package/dist/index.es169.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import f from "./index.es97.js";
|
|
2
2
|
import { slice as t } from "./index.es24.js";
|
|
3
3
|
import i from "./index.es89.js";
|
|
4
|
-
import m from "./index.
|
|
4
|
+
import m from "./index.es230.js";
|
|
5
5
|
import u from "./index.es150.js";
|
|
6
6
|
import e from "./index.es120.js";
|
|
7
7
|
import o from "./index.es107.js";
|
package/dist/index.es17.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __module as e } from "./index.
|
|
2
|
-
import { __require as r } from "./index.
|
|
3
|
-
import { __require as o } from "./index.
|
|
1
|
+
import { __module as e } from "./index.es59.js";
|
|
2
|
+
import { __require as r } from "./index.es60.js";
|
|
3
|
+
import { __require as o } from "./index.es61.js";
|
|
4
4
|
process.env.NODE_ENV === "production" ? e.exports = r() : e.exports = o();
|
|
5
5
|
var m = e.exports;
|
|
6
6
|
export {
|
package/dist/index.es170.js
CHANGED
package/dist/index.es176.js
CHANGED
package/dist/index.es177.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import b from "./index.es87.js";
|
|
2
|
-
import q from "./index.
|
|
3
|
-
import B from "./index.
|
|
2
|
+
import q from "./index.es220.js";
|
|
3
|
+
import B from "./index.es211.js";
|
|
4
4
|
import r from "./index.es157.js";
|
|
5
5
|
function w(l, p, f, g) {
|
|
6
6
|
b(p) || (g = f, f = p, p = !1), f != null && (f = q(f, g));
|
package/dist/index.es178.js
CHANGED
package/dist/index.es179.js
CHANGED
package/dist/index.es180.js
CHANGED
package/dist/index.es183.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.
|
|
2
|
-
import { normalizeStyle as v } from "./index.
|
|
1
|
+
import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.es206.js";
|
|
2
|
+
import { normalizeStyle as v } from "./index.es207.js";
|
|
3
3
|
import { deepEqual as h } from "./index.es188.js";
|
|
4
4
|
const g = { version: 8, sources: {}, layers: [] }, y = {
|
|
5
5
|
mousedown: "onMouseDown",
|
package/dist/index.es19.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { commonjsGlobal as nd, getDefaultExportFromCjs as od } from "./index.
|
|
2
|
-
import { __module as lu } from "./index.
|
|
1
|
+
import { commonjsGlobal as nd, getDefaultExportFromCjs as od } from "./index.es62.js";
|
|
2
|
+
import { __module as lu } from "./index.es64.js";
|
|
3
3
|
function ld(an, vl) {
|
|
4
4
|
for (var Ur = 0; Ur < vl.length; Ur++) {
|
|
5
5
|
const cr = vl[Ur];
|