@performant-software/geospatial 2.3.15-beta.0 → 2.3.15-beta.1
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.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 +4 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -4
- 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.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs259.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.cjs60.js +1 -1
- package/dist/index.cjs61.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.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.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.es19.js +2 -2
- package/dist/index.es190.js +8 -2
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +147 -7
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +12188 -139
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +3 -12199
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +1 -1
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +38 -3
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +3 -38
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +25 -3
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +2 -25
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +1 -0
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +0 -1
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +34 -2
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +13 -32
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +12 -11
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +8 -13
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +2 -9
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es21.js +2 -2
- package/dist/index.es22.js +2 -2
- package/dist/index.es239.js +1 -1
- package/dist/index.es242.js +1 -1
- package/dist/index.es248.js +2 -2
- package/dist/index.es254.js +1 -1
- package/dist/index.es259.js +2 -2
- package/dist/index.es52.js +5 -5
- package/dist/index.es56.js +1 -1
- package/dist/index.es58.js +6 -6
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +1 -1
- package/dist/index.es62.js +5 -106
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +2 -10
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +2 -6
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +55 -2
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +48 -4
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +37 -55
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +11 -47
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +14 -38
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +29 -11
- 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 +13 -29
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +10 -12
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +4 -14
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +2 -11
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +107 -2
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +10 -2
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs67.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs67.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs67.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/popup.js"],"sourcesContent":["import { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { deepEqual } from '../utils/deep-equal';\n// Adapted from https://github.com/mapbox/mapbox-gl-js/blob/v1.13.0/src/ui/popup.js\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n/* eslint-disable complexity,max-statements */\nfunction Popup(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const container = useMemo(() => {\n return document.createElement('div');\n }, []);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const popup = useMemo(() => {\n const options = { ...props };\n const pp = new mapLib.Popup(options);\n pp.setLngLat([props.longitude, props.latitude]);\n pp.once('open', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOpen) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return pp;\n }, []);\n useEffect(() => {\n const onClose = e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClose) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n };\n popup.on('close', onClose);\n popup.setDOMContent(container).addTo(map.getMap());\n return () => {\n // https://github.com/visgl/react-map-gl/issues/1825\n // onClose should not be fired if the popup is removed by unmounting\n // When using React strict mode, the component is mounted twice.\n // Firing the onClose callback here would be a false signal to remove the component.\n popup.off('close', onClose);\n if (popup.isOpen()) {\n popup.remove();\n }\n };\n }, []);\n useEffect(() => {\n applyReactStyle(popup.getElement(), props.style);\n }, [props.style]);\n useImperativeHandle(ref, () => popup, []);\n if (popup.isOpen()) {\n if (popup.getLngLat().lng !== props.longitude || popup.getLngLat().lat !== props.latitude) {\n popup.setLngLat([props.longitude, props.latitude]);\n }\n if (props.offset && !deepEqual(popup.options.offset, props.offset)) {\n popup.setOffset(props.offset);\n }\n if (popup.options.anchor !== props.anchor || popup.options.maxWidth !== props.maxWidth) {\n popup.options.anchor = props.anchor;\n popup.setMaxWidth(props.maxWidth);\n }\n if (popup.options.className !== props.className) {\n const prevClassList = getClassList(popup.options.className);\n const nextClassList = getClassList(props.className);\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n popup.removeClassName(c);\n }\n }\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n popup.addClassName(c);\n }\n }\n popup.options.className = props.className;\n }\n }\n return createPortal(props.children, container);\n}\nexport default memo(forwardRef(Popup));\n//# sourceMappingURL=popup.js.map"],"names":["getClassList","className","Popup","props","ref","map","mapLib","useContext","MapContext","container","useMemo","thisRef","useRef","popup","options","pp","e","_a","_b","useEffect","onClose","applyReactStyle","useImperativeHandle","deepEqual","prevClassList","nextClassList","c","createPortal","memo","forwardRef"],"mappings":"yJAMA,SAASA,EAAaC,EAAW,CACtB,OAAA,IAAI,IAAIA,EAAYA,EAAU,OAAO,MAAM,KAAK,EAAI,CAAA,CAAE,CACjE,CAEA,SAASC,EAAMC,EAAOC,EAAK,CACvB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAYC,EAAAA,QAAQ,IACf,SAAS,cAAc,KAAK,EACpC,CAAE,CAAA,EACCC,EAAUC,EAAAA,OAAO,CAAE,MAAAT,CAAO,CAAA,EAChCQ,EAAQ,QAAQ,MAAQR,EAClB,MAAAU,EAAQH,EAAAA,QAAQ,IAAM,CAClB,MAAAI,EAAU,CAAE,GAAGX,GACfY,EAAK,IAAIT,EAAO,MAAMQ,CAAO,EACnC,OAAAC,EAAG,UAAU,CAACZ,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC3CY,EAAA,KAAK,OAAaC,GAAA,CACjB,IAAIC,EAAIC,GACPA,GAAMD,EAAKN,EAAQ,QAAQ,OAAO,UAAY,MAAQO,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAChG,EACMD,CACX,EAAG,CAAE,CAAA,EAuBD,GAtBJI,EAAAA,UAAU,IAAM,CACZ,MAAMC,EAAeJ,GAAA,CACjB,IAAIC,EAAIC,GACPA,GAAMD,EAAKN,EAAQ,QAAQ,OAAO,WAAa,MAAQO,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,EAE5F,OAAAH,EAAA,GAAG,QAASO,CAAO,EACzBP,EAAM,cAAcJ,CAAS,EAAE,MAAMJ,EAAI,QAAQ,EAC1C,IAAM,CAKHQ,EAAA,IAAI,QAASO,CAAO,EACtBP,EAAM,UACNA,EAAM,OAAO,CACjB,CAER,EAAG,CAAE,CAAA,EACLM,EAAAA,UAAU,IAAM,CACZE,EAAAA,gBAAgBR,EAAM,WAAc,EAAAV,EAAM,KAAK,CAAA,EAChD,CAACA,EAAM,KAAK,CAAC,EAChBmB,EAAAA,oBAAoBlB,EAAK,IAAMS,EAAO,CAAE,CAAA,EACpCA,EAAM,YACFA,EAAM,YAAY,MAAQV,EAAM,WAAaU,EAAM,UAAU,EAAE,MAAQV,EAAM,WAC7EU,EAAM,UAAU,CAACV,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAEjDA,EAAM,QAAU,CAACoB,YAAUV,EAAM,QAAQ,OAAQV,EAAM,MAAM,GACvDU,EAAA,UAAUV,EAAM,MAAM,GAE5BU,EAAM,QAAQ,SAAWV,EAAM,QAAUU,EAAM,QAAQ,WAAaV,EAAM,YACpEU,EAAA,QAAQ,OAASV,EAAM,OACvBU,EAAA,YAAYV,EAAM,QAAQ,GAEhCU,EAAM,QAAQ,YAAcV,EAAM,WAAW,CAC7C,MAAMqB,EAAgBxB,EAAaa,EAAM,QAAQ,SAAS,EACpDY,EAAgBzB,EAAaG,EAAM,SAAS,EAClD,UAAWuB,KAAKF,EACPC,EAAc,IAAIC,CAAC,GACpBb,EAAM,gBAAgBa,CAAC,EAG/B,UAAWA,KAAKD,EACPD,EAAc,IAAIE,CAAC,GACpBb,EAAM,aAAaa,CAAC,EAGtBb,EAAA,QAAQ,UAAYV,EAAM,SACpC,CAEG,OAAAwB,eAAaxB,EAAM,SAAUM,CAAS,CACjD,CACemB,EAAAA,KAAKC,EAAAA,WAAW3B,CAAK,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs68.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react"),i=require("./index.cjs187.js"),r=require("./index.cjs16.js");function c(t){const n=r(({mapLib:o})=>new o.AttributionControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}e.memo(c);
|
|
2
2
|
//# sourceMappingURL=index.cjs68.js.map
|
package/dist/index.cjs68.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs68.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs68.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/attribution-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction AttributionControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.AttributionControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(AttributionControl);\n//# sourceMappingURL=attribution-control.js.map"],"names":["AttributionControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAmBC,EAAO,CACzB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,mBAAmBH,CAAK,EAAG,CAC1E,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAkB","x_google_ignoreList":[0]}
|
package/dist/index.cjs69.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("react"),l=require("./index.cjs187.js"),c=require("./index.cjs16.js");function r(e){const n=c(({mapLib:o})=>new o.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return t.useEffect(()=>{l.applyReactStyle(n._controlContainer,e.style)},[e.style]),null}const i=t.memo(r);module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs69.js.map
|
package/dist/index.cjs69.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs69.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs69.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/fullscreen-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction FullscreenControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.FullscreenControl({\n container: props.containerId && document.getElementById(props.containerId)\n }), { position: props.position });\n useEffect(() => {\n applyReactStyle(ctrl._controlContainer, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(FullscreenControl);\n//# sourceMappingURL=fullscreen-control.js.map"],"names":["FullscreenControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkB,CACjE,UAAWH,EAAM,aAAe,SAAS,eAAeA,EAAM,WAAW,CAC5E,CAAA,EAAG,CAAE,SAAUA,EAAM,QAAU,CAAA,EAChCI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,kBAAmBD,EAAM,KAAK,CAAA,EACpD,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
|
package/dist/index.cjs70.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const c=require("react"),d=require("./index.cjs187.js"),v=require("./index.cjs16.js");function _(n,u){const a=c.useRef({props:n}),l=v(({mapLib:s})=>{const r=new s.GeolocateControl(n),i=r._setupUI;return r._setupUI=t=>{r._container.hasChildNodes()||i(t)},r.on("geolocate",t=>{var e,o;(o=(e=a.current.props).onGeolocate)===null||o===void 0||o.call(e,t)}),r.on("error",t=>{var e,o;(o=(e=a.current.props).onError)===null||o===void 0||o.call(e,t)}),r.on("outofmaxbounds",t=>{var e,o;(o=(e=a.current.props).onOutOfMaxBounds)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationstart",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationStart)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationend",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationEnd)===null||o===void 0||o.call(e,t)}),r},{position:n.position});return a.current.props=n,c.useImperativeHandle(u,()=>l,[]),c.useEffect(()=>{d.applyReactStyle(l._container,n.style)},[n.style]),null}c.memo(c.forwardRef(_));
|
|
2
2
|
//# sourceMappingURL=index.cjs70.js.map
|
package/dist/index.cjs70.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs70.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs70.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/geolocate-control.js"],"sourcesContent":["import { useImperativeHandle, useRef, useEffect, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction GeolocateControl(props, ref) {\n const thisRef = useRef({ props });\n const ctrl = useControl(({ mapLib }) => {\n const gc = new mapLib.GeolocateControl(props);\n // Hack: fix GeolocateControl reuse\n // When using React strict mode, the component is mounted twice.\n // GeolocateControl's UI creation is asynchronous. Removing and adding it back causes the UI to be initialized twice.\n // @ts-expect-error private method\n const setupUI = gc._setupUI;\n // @ts-expect-error private method\n gc._setupUI = args => {\n if (!gc._container.hasChildNodes()) {\n setupUI(args);\n }\n };\n gc.on('geolocate', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onGeolocate) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('error', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('outofmaxbounds', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOutOfMaxBounds) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationstart', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationend', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return gc;\n }, { position: props.position });\n thisRef.current.props = props;\n useImperativeHandle(ref, () => ctrl, []);\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(forwardRef(GeolocateControl));\n//# sourceMappingURL=geolocate-control.js.map"],"names":["GeolocateControl","props","ref","thisRef","useRef","ctrl","useControl","mapLib","gc","setupUI","args","e","_a","_b","useImperativeHandle","useEffect","applyReactStyle","memo","forwardRef"],"mappings":"mGAGA,SAASA,EAAiBC,EAAOC,EAAK,CAClC,MAAMC,EAAUC,EAAAA,OAAO,CAAE,MAAAH,CAAO,CAAA,EAC1BI,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,CACpC,MAAMC,EAAK,IAAID,EAAO,iBAAiBN,CAAK,EAKtCQ,EAAUD,EAAG,SAEnB,OAAAA,EAAG,SAAmBE,GAAA,CACbF,EAAG,WAAW,iBACfC,EAAQC,CAAI,CAChB,EAEDF,EAAA,GAAG,YAAkBG,GAAA,CACpB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,eAAiB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACrG,EACEH,EAAA,GAAG,QAAcG,GAAA,CAChB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,WAAa,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACjG,EACEH,EAAA,GAAG,iBAAuBG,GAAA,CACzB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,oBAAsB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAC1G,EACEH,EAAA,GAAG,yBAA+BG,GAAA,CACjC,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,4BAA8B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAClH,EACEH,EAAA,GAAG,uBAA6BG,GAAA,CAC/B,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,0BAA4B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAChH,EACMH,CACR,EAAA,CAAE,SAAUP,EAAM,QAAU,CAAA,EAC/B,OAAAE,EAAQ,QAAQ,MAAQF,EACxBa,EAAAA,oBAAoBZ,EAAK,IAAMG,EAAM,CAAE,CAAA,EACvCU,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAX,EAAK,WAAYJ,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACegB,EAAAA,KAAKC,EAAAA,WAAWlB,CAAgB,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs71.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react"),i=require("./index.cjs187.js"),c=require("./index.cjs16.js");function l(t){const n=c(({mapLib:o})=>new o.NavigationControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}const r=e.memo(l);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs71.js.map
|
package/dist/index.cjs71.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs71.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs71.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/navigation-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction NavigationControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.NavigationControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(NavigationControl);\n//# sourceMappingURL=navigation-control.js.map"],"names":["NavigationControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkBH,CAAK,EAAG,CACzE,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
|
package/dist/index.cjs72.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react"),a=require("./index.cjs187.js"),l=require("./index.cjs16.js");function r(t){const e=l(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{a.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
|
|
2
2
|
//# sourceMappingURL=index.cjs72.js.map
|
package/dist/index.cjs72.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs72.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs72.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.cjs73.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs65.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.cjs73.js.map
|
package/dist/index.cjs73.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs73.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs73.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.cjs74.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs74.js.map
|
package/dist/index.cjs74.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs74.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs74.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs75.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs75.js.map
|
package/dist/index.cjs75.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs75.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs75.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs76.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),s=require("./index.cjs77.js");var O=["attr","size","title"];function v(e,t){if(e==null)return{};var r=p(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(n){j(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j(e,t,r){return t=P(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){var t=d(e,"string");return typeof t=="symbol"?t:String(t)}function d(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b(e){return e&&e.map((t,r)=>l.createElement(t.tag,u({key:r},t.attr),b(t.child)))}function h(e){return t=>l.createElement(g,c({attr:u({},e.attr)},t),b(e.child))}function g(e){var t=r=>{var{attr:n,size:i,title:o}=e,y=v(e,O),f=i||r.size||"1em",a;return r.className&&(a=r.className),e.className&&(a=(a?a+" ":"")+e.className),l.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,y,{className:a,style:u(u({color:e.color||r.color},r.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),o&&l.createElement("title",null,o),e.children)};return s.IconContext!==void 0?l.createElement(s.IconContext.Consumer,null,r=>t(r)):t(s.DefaultContext)}exports.GenIcon=h;exports.IconBase=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs76.js.map
|
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-icons/lib/iconBase.mjs"],"sourcesContent":["var _excluded = [\"attr\", \"size\", \"title\"];\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext.mjs\";\nfunction Tree2Element(tree) {\n return tree && tree.map((node, i) => /*#__PURE__*/React.createElement(node.tag, _objectSpread({\n key: i\n }, node.attr), Tree2Element(node.child)));\n}\nexport function GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return props => /*#__PURE__*/React.createElement(IconBase, _extends({\n attr: _objectSpread({}, data.attr)\n }, props), Tree2Element(data.child));\n}\nexport function IconBase(props) {\n var elem = conf => {\n var {\n attr,\n size,\n title\n } = props,\n svgProps = _objectWithoutProperties(props, _excluded);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: _objectSpread(_objectSpread({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && /*#__PURE__*/React.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? /*#__PURE__*/React.createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);\n}"],"names":["_excluded","_objectWithoutProperties","source","excluded","target","_objectWithoutPropertiesLoose","key","sourceSymbolKeys","sourceKeys","i","_extends","ownKeys","r","t","o","_objectSpread","_defineProperty","obj","value","_toPropertyKey","arg","_toPrimitive","input","hint","prim","res","Tree2Element","tree","node","React","GenIcon","data","props","IconBase","elem","conf","attr","size","title","svgProps","computedSize","className","IconContext","DefaultContext"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs77.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");var t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=e.createContext&&e.createContext(t);exports.DefaultContext=t;exports.IconContext=n;
|
|
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-icons/lib/iconContext.mjs"],"sourcesContent":["import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && /*#__PURE__*/React.createContext(DefaultContext);"],"names":["DefaultContext","IconContext","React"],"mappings":"yGACU,IAACA,EAAiB,CAC1B,MAAO,OACP,KAAM,OACN,UAAW,OACX,MAAO,OACP,KAAM,MACR,EACWC,EAAcC,EAAM,eAA8BA,EAAM,cAAcF,CAAc","x_google_ignoreList":[0]}
|
package/dist/index.cjs78.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs205.js");function u(o,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in o)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var a=r.__exports.printMsg=function(){console.log("This is a message from the demo package")};const c=u({__proto__:null,default:r.__exports,printMsg:a},[r.__exports]);exports.default=r.__exports;exports.index=c;exports.printMsg=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs78.js.map
|
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.cjs65.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.cjs65.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.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.es64.js";
|
|
3
3
|
(function(Wn, ao) {
|
|
4
4
|
(function(ze, de) {
|
|
5
5
|
Wn.exports = de();
|
package/dist/index.es15.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import p from "./index.
|
|
2
|
+
import p from "./index.es65.js";
|
|
3
|
+
import "./index.es66.js";
|
|
4
|
+
import "./index.es67.js";
|
|
3
5
|
import "./index.es68.js";
|
|
4
6
|
import "./index.es69.js";
|
|
5
7
|
import "./index.es70.js";
|
|
6
|
-
import "./index.es71.js";
|
|
8
|
+
import m from "./index.es71.js";
|
|
7
9
|
import "./index.es72.js";
|
|
8
|
-
import m from "./index.es73.js";
|
|
9
|
-
import "./index.es74.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.es73.js";
|
|
13
13
|
function C() {
|
|
14
14
|
return e();
|
|
15
15
|
}
|
package/dist/index.es16.js
CHANGED
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.es63.js";
|
|
3
3
|
function ld(an, vl) {
|
|
4
4
|
for (var Ur = 0; Ur < vl.length; Ur++) {
|
|
5
5
|
const cr = vl[Ur];
|
package/dist/index.es190.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import i from "./index.es56.js";
|
|
2
|
+
import { point as m } from "./index.es54.js";
|
|
3
|
+
function x(t, r) {
|
|
4
|
+
r === void 0 && (r = {});
|
|
5
|
+
var e = i(t), a = (e[0] + e[2]) / 2, f = (e[1] + e[3]) / 2;
|
|
6
|
+
return m([a, f], r.properties, r);
|
|
7
|
+
}
|
|
2
8
|
export {
|
|
3
|
-
|
|
9
|
+
x as default
|
|
4
10
|
};
|
|
5
11
|
//# sourceMappingURL=index.es190.js.map
|
package/dist/index.es190.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es190.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.es190.js","sources":["../../../node_modules/@turf/center/dist/es/index.js"],"sourcesContent":["import bbox from \"@turf/bbox\";\nimport { point, } from \"@turf/helpers\";\n/**\n * Takes a {@link Feature} or {@link FeatureCollection} and returns the absolute center point of all features.\n *\n * @name center\n * @param {GeoJSON} geojson GeoJSON to be centered\n * @param {Object} [options={}] Optional parameters\n * @param {Object} [options.properties={}] Translate GeoJSON Properties to Point\n * @param {Object} [options.bbox={}] Translate GeoJSON BBox to Point\n * @param {Object} [options.id={}] Translate GeoJSON Id to Point\n * @returns {Feature<Point>} a Point feature at the absolute center point of all input features\n * @example\n * var features = turf.points([\n * [-97.522259, 35.4691],\n * [-97.502754, 35.463455],\n * [-97.508269, 35.463245]\n * ]);\n *\n * var center = turf.center(features);\n *\n * //addToMap\n * var addToMap = [features, center]\n * center.properties['marker-size'] = 'large';\n * center.properties['marker-color'] = '#000';\n */\nfunction center(geojson, options) {\n if (options === void 0) { options = {}; }\n var ext = bbox(geojson);\n var x = (ext[0] + ext[2]) / 2;\n var y = (ext[1] + ext[3]) / 2;\n return point([x, y], options.properties, options);\n}\nexport default center;\n"],"names":["center","geojson","options","ext","bbox","x","y","point"],"mappings":";;AA0BA,SAASA,EAAOC,GAASC,GAAS;AAC9B,EAAIA,MAAY,WAAUA,IAAU,CAAA;AAChC,MAAAC,IAAMC,EAAKH,CAAO,GAClBI,KAAKF,EAAI,CAAC,IAAIA,EAAI,CAAC,KAAK,GACxBG,KAAKH,EAAI,CAAC,IAAIA,EAAI,CAAC,KAAK;AAC5B,SAAOI,EAAM,CAACF,GAAGC,CAAC,GAAGJ,EAAQ,YAAYA,CAAO;AACpD;","x_google_ignoreList":[0]}
|
package/dist/index.es191.js
CHANGED
|
@@ -1,11 +1,151 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
function b(e, o, r) {
|
|
2
|
+
if (e !== null)
|
|
3
|
+
for (var t, l, a, u, c, i, s, y = 0, f = 0, h, p = e.type, C = p === "FeatureCollection", v = p === "Feature", w = C ? e.features.length : 1, M = 0; M < w; M++) {
|
|
4
|
+
s = C ? e.features[M].geometry : v ? e.geometry : e, h = s ? s.type === "GeometryCollection" : !1, c = h ? s.geometries.length : 1;
|
|
5
|
+
for (var G = 0; G < c; G++) {
|
|
6
|
+
var n = 0, g = 0;
|
|
7
|
+
if (u = h ? s.geometries[G] : s, u !== null) {
|
|
8
|
+
i = u.coordinates;
|
|
9
|
+
var P = u.type;
|
|
10
|
+
switch (y = r && (P === "Polygon" || P === "MultiPolygon") ? 1 : 0, P) {
|
|
11
|
+
case null:
|
|
12
|
+
break;
|
|
13
|
+
case "Point":
|
|
14
|
+
if (o(
|
|
15
|
+
i,
|
|
16
|
+
f,
|
|
17
|
+
M,
|
|
18
|
+
n,
|
|
19
|
+
g
|
|
20
|
+
) === !1)
|
|
21
|
+
return !1;
|
|
22
|
+
f++, n++;
|
|
23
|
+
break;
|
|
24
|
+
case "LineString":
|
|
25
|
+
case "MultiPoint":
|
|
26
|
+
for (t = 0; t < i.length; t++) {
|
|
27
|
+
if (o(
|
|
28
|
+
i[t],
|
|
29
|
+
f,
|
|
30
|
+
M,
|
|
31
|
+
n,
|
|
32
|
+
g
|
|
33
|
+
) === !1)
|
|
34
|
+
return !1;
|
|
35
|
+
f++, P === "MultiPoint" && n++;
|
|
36
|
+
}
|
|
37
|
+
P === "LineString" && n++;
|
|
38
|
+
break;
|
|
39
|
+
case "Polygon":
|
|
40
|
+
case "MultiLineString":
|
|
41
|
+
for (t = 0; t < i.length; t++) {
|
|
42
|
+
for (l = 0; l < i[t].length - y; l++) {
|
|
43
|
+
if (o(
|
|
44
|
+
i[t][l],
|
|
45
|
+
f,
|
|
46
|
+
M,
|
|
47
|
+
n,
|
|
48
|
+
g
|
|
49
|
+
) === !1)
|
|
50
|
+
return !1;
|
|
51
|
+
f++;
|
|
52
|
+
}
|
|
53
|
+
P === "MultiLineString" && n++, P === "Polygon" && g++;
|
|
54
|
+
}
|
|
55
|
+
P === "Polygon" && n++;
|
|
56
|
+
break;
|
|
57
|
+
case "MultiPolygon":
|
|
58
|
+
for (t = 0; t < i.length; t++) {
|
|
59
|
+
for (g = 0, l = 0; l < i[t].length; l++) {
|
|
60
|
+
for (a = 0; a < i[t][l].length - y; a++) {
|
|
61
|
+
if (o(
|
|
62
|
+
i[t][l][a],
|
|
63
|
+
f,
|
|
64
|
+
M,
|
|
65
|
+
n,
|
|
66
|
+
g
|
|
67
|
+
) === !1)
|
|
68
|
+
return !1;
|
|
69
|
+
f++;
|
|
70
|
+
}
|
|
71
|
+
g++;
|
|
72
|
+
}
|
|
73
|
+
n++;
|
|
74
|
+
}
|
|
75
|
+
break;
|
|
76
|
+
case "GeometryCollection":
|
|
77
|
+
for (t = 0; t < u.geometries.length; t++)
|
|
78
|
+
if (b(u.geometries[t], o, r) === !1)
|
|
79
|
+
return !1;
|
|
80
|
+
break;
|
|
81
|
+
default:
|
|
82
|
+
throw new Error("Unknown Geometry Type");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function S(e, o) {
|
|
89
|
+
if (e.type === "Feature")
|
|
90
|
+
o(e, 0);
|
|
91
|
+
else if (e.type === "FeatureCollection")
|
|
92
|
+
for (var r = 0; r < e.features.length && o(e.features[r], r) !== !1; r++)
|
|
93
|
+
;
|
|
94
|
+
}
|
|
95
|
+
function k(e, o) {
|
|
96
|
+
var r, t, l, a, u, c, i, s, y, f, h = 0, p = e.type === "FeatureCollection", C = e.type === "Feature", v = p ? e.features.length : 1;
|
|
97
|
+
for (r = 0; r < v; r++) {
|
|
98
|
+
for (c = p ? e.features[r].geometry : C ? e.geometry : e, s = p ? e.features[r].properties : C ? e.properties : {}, y = p ? e.features[r].bbox : C ? e.bbox : void 0, f = p ? e.features[r].id : C ? e.id : void 0, i = c ? c.type === "GeometryCollection" : !1, u = i ? c.geometries.length : 1, l = 0; l < u; l++) {
|
|
99
|
+
if (a = i ? c.geometries[l] : c, a === null) {
|
|
100
|
+
if (o(
|
|
101
|
+
null,
|
|
102
|
+
h,
|
|
103
|
+
s,
|
|
104
|
+
y,
|
|
105
|
+
f
|
|
106
|
+
) === !1)
|
|
107
|
+
return !1;
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
switch (a.type) {
|
|
111
|
+
case "Point":
|
|
112
|
+
case "LineString":
|
|
113
|
+
case "MultiPoint":
|
|
114
|
+
case "Polygon":
|
|
115
|
+
case "MultiLineString":
|
|
116
|
+
case "MultiPolygon": {
|
|
117
|
+
if (o(
|
|
118
|
+
a,
|
|
119
|
+
h,
|
|
120
|
+
s,
|
|
121
|
+
y,
|
|
122
|
+
f
|
|
123
|
+
) === !1)
|
|
124
|
+
return !1;
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
case "GeometryCollection": {
|
|
128
|
+
for (t = 0; t < a.geometries.length; t++)
|
|
129
|
+
if (o(
|
|
130
|
+
a.geometries[t],
|
|
131
|
+
h,
|
|
132
|
+
s,
|
|
133
|
+
y,
|
|
134
|
+
f
|
|
135
|
+
) === !1)
|
|
136
|
+
return !1;
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
default:
|
|
140
|
+
throw new Error("Unknown Geometry Type");
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
h++;
|
|
144
|
+
}
|
|
7
145
|
}
|
|
8
146
|
export {
|
|
9
|
-
|
|
147
|
+
b as coordEach,
|
|
148
|
+
S as featureEach,
|
|
149
|
+
k as geomEach
|
|
10
150
|
};
|
|
11
151
|
//# sourceMappingURL=index.es191.js.map
|