@local-logic/maps 0.0.17 → 0.0.18
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-B1Omdmxd.js → index-Be6RGKzc.js} +3 -3
- package/dist/{index-C-DWzOya.js → index-C0nB-ZYI.js} +2 -2
- package/dist/{index-BjEh3n_u.js → index-C1QREXT1.js} +2 -2
- package/dist/{index-DnawJzMq.js → index-C7cTTXxY.js} +1 -1
- package/dist/{index-CtwDDX_3.js → index-C9z8YU4t.js} +3 -3
- package/dist/{index-DxGEMfzT.js → index-CBfuS_n2.js} +2 -2
- package/dist/{index-gQWdQJQa.js → index-C_RtwL3E.js} +5 -5
- package/dist/{index-rvV2PJV8.js → index-DMwjyhBt.js} +3 -3
- package/dist/{index-DRwDYyiE.js → index-DUdSU2pv.js} +2 -2
- package/dist/{index-_YvDHCeI.js → index-DjQpPQGI.js} +1 -1
- package/dist/{index-Dt3mhHy8.js → index-DnE7POcz.js} +1 -1
- package/dist/{index-3kRdcdZh.js → index-Dvg9jDs5.js} +1 -1
- package/dist/{index-x3wrHsPD.js → index-Dz1XJJEv.js} +1 -1
- package/dist/{index-DKwlSz0j.js → index-gTk5Txmy.js} +2 -2
- package/dist/{index-JSENtNiR.js → index-pztBT1mz.js} +2 -2
- package/dist/{index-Yh7bUURu.js → index-r9nwo0R7.js} +1 -1
- package/dist/{index-DS_C78Lv.js → index-t8m-nFSa.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{index.modern-CLRs8JwI.js → index.modern-fpUBOYPT.js} +288 -282
- package/dist/index.umd.js +624 -251
- package/dist/{logo-control-NE-LlsRy.js → logo-control-BALqfBGo.js} +212 -202
- package/dist/mapbox-gl-Coz2msiN.js +34257 -0
- package/dist/maplibre-gl-CAHhS7Ky.js +21377 -0
- package/dist/{scale-control-CyJd4u6j.js → scale-control-BOI2g14-.js} +183 -173
- package/dist/style.css +1 -1
- package/package.json +30 -30
- package/dist/mapbox-gl-D58OubwB.js +0 -32266
- package/dist/maplibre-gl-CfOZKUDd.js +0 -20722
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as M, jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { a as u } from "./logo-control-
|
|
2
|
+
import { a as u } from "./logo-control-BALqfBGo.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { u as _, M as b } from "./index-
|
|
5
|
-
import { C as h, c as k, M as I } from "./index-
|
|
4
|
+
import { u as _, M as b } from "./index-C_RtwL3E.js";
|
|
5
|
+
import { C as h, c as k, M as I } from "./index-DnE7POcz.js";
|
|
6
6
|
function N({
|
|
7
7
|
clusters: t,
|
|
8
8
|
colors: e,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as M, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { useState as v, useEffect as l } from "react";
|
|
3
|
-
import { M as y, N as g, u as h } from "./scale-control-
|
|
3
|
+
import { M as y, N as g, u as h } from "./scale-control-BOI2g14-.js";
|
|
4
4
|
import { b as B } from "./index-CFomI3Il.js";
|
|
5
|
-
import { u as b, d as u, a as Z, m as z } from "./index-
|
|
5
|
+
import { u as b, d as u, a as Z, m as z } from "./index-C_RtwL3E.js";
|
|
6
6
|
const L = ({ padding: i }) => {
|
|
7
7
|
const { current: o } = h(), { markerPoints: n, setBounds: m, setZoom: f } = b(), [r, p] = v(void 0), a = () => {
|
|
8
8
|
var t;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as x, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { useState as y, useEffect as c } from "react";
|
|
3
|
-
import { M as g, N as h, u as b } from "./logo-control-
|
|
3
|
+
import { M as g, N as h, u as b } from "./logo-control-BALqfBGo.js";
|
|
4
4
|
import { b as B } from "./index-CFomI3Il.js";
|
|
5
|
-
import { u as M, d as u, a as Z, m as z } from "./index-
|
|
5
|
+
import { u as M, d as u, a as Z, m as z } from "./index-C_RtwL3E.js";
|
|
6
6
|
const L = ({ padding: i }) => {
|
|
7
7
|
const { current: o } = b(), { markerPoints: n, setBounds: m, setZoom: f } = M(), [r, p] = y(void 0), s = () => {
|
|
8
8
|
var e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { a as i } from "./index.modern-
|
|
2
|
+
import { a as i } from "./index.modern-fpUBOYPT.js";
|
|
3
3
|
import { c as t, b as o, S as s, o as r, i as l } from "./styles-Do-o-qNU.js";
|
|
4
4
|
function u({ marker: n }) {
|
|
5
5
|
return /* @__PURE__ */ e(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as M, jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { a as b } from "./scale-control-
|
|
2
|
+
import { a as b } from "./scale-control-BOI2g14-.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { u, M as h } from "./index-
|
|
5
|
-
import { C as k, c as x, M as I } from "./index-
|
|
4
|
+
import { u, M as h } from "./index-C_RtwL3E.js";
|
|
5
|
+
import { C as k, c as x, M as I } from "./index-DnE7POcz.js";
|
|
6
6
|
function N({
|
|
7
7
|
clusters: t,
|
|
8
8
|
colors: e,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as v, jsx as T } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as M } from "react";
|
|
3
|
-
import { A as y, M as L, C as f, u as P } from "./index.modern-
|
|
3
|
+
import { A as y, M as L, C as f, u as P } from "./index.modern-fpUBOYPT.js";
|
|
4
4
|
import { b as x } from "./index-CFomI3Il.js";
|
|
5
|
-
import { u as b, d as p, a as B, m as O } from "./index-
|
|
5
|
+
import { u as b, d as p, a as B, m as O } from "./index-C_RtwL3E.js";
|
|
6
6
|
const Z = {
|
|
7
7
|
"top-left": f.LEFT_TOP,
|
|
8
8
|
"top-right": f.RIGHT_TOP,
|
|
@@ -10,7 +10,7 @@ const tt = it.createContext({}), R = () => at(tt), I = {
|
|
|
10
10
|
maptiler: "600d69cb-288d-445e-9839-3dfe4d76b31a",
|
|
11
11
|
mapbox: "locallogic/cmb9nz9kb011501ru8drq8fqf",
|
|
12
12
|
google: "a7ff20eb973126bb"
|
|
13
|
-
}, Y = 13, ut = 22, Ht = 12.5, ht = 30, pt = 60, lt = "w-full h-full relative overflow-hidden", ft = w(() => import("./index-
|
|
13
|
+
}, Y = 13, ut = 22, Ht = 12.5, ht = 30, pt = 60, lt = "w-full h-full relative overflow-hidden", ft = w(() => import("./index-C1QREXT1.js")), dt = w(() => import("./index-CBfuS_n2.js")), gt = w(() => import("./index-C0nB-ZYI.js")), mt = w(() => import("./index-qqbvBkdn.js")), yt = ({ padding: r = 1e-3, children: t }) => {
|
|
14
14
|
const {
|
|
15
15
|
mapProvider: e,
|
|
16
16
|
center: n,
|
|
@@ -48,7 +48,7 @@ const tt = it.createContext({}), R = () => at(tt), I = {
|
|
|
48
48
|
children: /* @__PURE__ */ T(p, { padding: r, children: t })
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
|
-
}, wt = w(() => import("./index-
|
|
51
|
+
}, wt = w(() => import("./index-DjQpPQGI.js")), Mt = w(() => import("./index-C7cTTXxY.js")), _t = w(() => import("./index-t8m-nFSa.js"));
|
|
52
52
|
function At(r) {
|
|
53
53
|
const { mapProvider: t } = R(), e = P(() => {
|
|
54
54
|
switch (t == null ? void 0 : t.name) {
|
|
@@ -564,7 +564,7 @@ var Lt = function(t) {
|
|
|
564
564
|
supercluster: c.current
|
|
565
565
|
};
|
|
566
566
|
};
|
|
567
|
-
const It = w(() => import("./index-
|
|
567
|
+
const It = w(() => import("./index-Be6RGKzc.js")), vt = w(() => import("./index-DMwjyhBt.js")), Rt = w(() => import("./index-C9z8YU4t.js"));
|
|
568
568
|
function Zt({ markers: r, onClick: t, ...e }) {
|
|
569
569
|
const { mapProvider: n, activeMarker: o, center: i, bounds: a, zoom: c, setMarkerPoints: s } = R();
|
|
570
570
|
ct(() => {
|
|
@@ -629,7 +629,7 @@ function Zt({ markers: r, onClick: t, ...e }) {
|
|
|
629
629
|
}
|
|
630
630
|
) : null;
|
|
631
631
|
}
|
|
632
|
-
const Ct = w(() => import("./index-
|
|
632
|
+
const Ct = w(() => import("./index-DUdSU2pv.js")), Ut = w(() => import("./index-pztBT1mz.js")), Bt = w(() => import("./index-gTk5Txmy.js"));
|
|
633
633
|
function Ft({ children: r, anchor: t = "bottom", ...e }) {
|
|
634
634
|
const { mapProvider: n } = R(), o = P(() => {
|
|
635
635
|
switch (n == null ? void 0 : n.name) {
|
|
@@ -645,7 +645,7 @@ function Ft({ children: r, anchor: t = "bottom", ...e }) {
|
|
|
645
645
|
}, [n]);
|
|
646
646
|
return o ? /* @__PURE__ */ T(o, { ...e, anchor: t, children: r }) : null;
|
|
647
647
|
}
|
|
648
|
-
const zt = w(() => import("./index-
|
|
648
|
+
const zt = w(() => import("./index-Dvg9jDs5.js")), Dt = w(() => import("./index-Dz1XJJEv.js")), Nt = w(() => import("./index-r9nwo0R7.js"));
|
|
649
649
|
function jt(r) {
|
|
650
650
|
const { mapProvider: t } = R(), e = P(() => {
|
|
651
651
|
switch (t == null ? void 0 : t.name) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { u as M, a as k } from "./index.modern-
|
|
3
|
-
import { u as I, M as O } from "./index-
|
|
4
|
-
import { C as _, c as b, M as h } from "./index-
|
|
2
|
+
import { u as M, a as k } from "./index.modern-fpUBOYPT.js";
|
|
3
|
+
import { u as I, M as O } from "./index-C_RtwL3E.js";
|
|
4
|
+
import { C as _, c as b, M as h } from "./index-DnE7POcz.js";
|
|
5
5
|
function C({
|
|
6
6
|
clusters: a,
|
|
7
7
|
colors: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as a } from "react";
|
|
3
|
-
import { P as i } from "./logo-control-
|
|
4
|
-
import { u as c } from "./index-
|
|
3
|
+
import { P as i } from "./logo-control-BALqfBGo.js";
|
|
4
|
+
import { u as c } from "./index-C_RtwL3E.js";
|
|
5
5
|
import { c as n } from "./styles-ChFj97uV.js";
|
|
6
6
|
function y({
|
|
7
7
|
latitude: e,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { a as e } from "./logo-control-
|
|
2
|
+
import { a as e } from "./logo-control-BALqfBGo.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { c as n, b as o, S as r, o as s, i as l } from "./styles-Do-o-qNU.js";
|
|
5
5
|
function p({ marker: t }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as o, Fragment as f } from "react/jsx-runtime";
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
import { useMemo as g } from "react";
|
|
4
|
-
import { u as p, M as c } from "./index-
|
|
4
|
+
import { u as p, M as c } from "./index-C_RtwL3E.js";
|
|
5
5
|
import { p as Z } from "./IconBase.es-rM5tt24D.js";
|
|
6
6
|
const A = /* @__PURE__ */ new Map([
|
|
7
7
|
[
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u, Fragment as x } from "react/jsx-runtime";
|
|
2
2
|
import * as $ from "react";
|
|
3
3
|
import { useContext as k, useRef as S, useState as b, useMemo as m, useEffect as w, cloneElement as j } from "react";
|
|
4
|
-
import { b as C, d as s } from "./logo-control-
|
|
4
|
+
import { b as C, d as s } from "./logo-control-BALqfBGo.js";
|
|
5
5
|
import { g as I } from "./utils-DJ13veBM.js";
|
|
6
6
|
function g(t, e) {
|
|
7
7
|
if (!t)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as P, Fragment as u } from "react/jsx-runtime";
|
|
2
2
|
import { useState as p, useContext as M, useEffect as y } from "react";
|
|
3
|
-
import { G as L } from "./index.modern-
|
|
3
|
+
import { G as L } from "./index.modern-fpUBOYPT.js";
|
|
4
4
|
import { a as g } from "./utils-DJ13veBM.js";
|
|
5
5
|
function f(a, e, l) {
|
|
6
6
|
switch (a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as a } from "react";
|
|
3
|
-
import { P as c } from "./scale-control-
|
|
4
|
-
import { u as i } from "./index-
|
|
3
|
+
import { P as c } from "./scale-control-BOI2g14-.js";
|
|
4
|
+
import { u as i } from "./index-C_RtwL3E.js";
|
|
5
5
|
import { c as n } from "./styles-ChFj97uV.js";
|
|
6
6
|
function l({
|
|
7
7
|
latitude: p,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as a, useMemo as f } from "react";
|
|
3
|
-
import { u as o, I as s } from "./index.modern-
|
|
4
|
-
import { u as y } from "./index-
|
|
3
|
+
import { u as o, I as s } from "./index.modern-fpUBOYPT.js";
|
|
4
|
+
import { u as y } from "./index-C_RtwL3E.js";
|
|
5
5
|
import { c as x } from "./styles-ChFj97uV.js";
|
|
6
6
|
function I({
|
|
7
7
|
latitude: u,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u, Fragment as b } from "react/jsx-runtime";
|
|
2
2
|
import * as $ from "react";
|
|
3
3
|
import { useContext as S, useRef as k, useState as C, useMemo as m, useEffect as w, cloneElement as j } from "react";
|
|
4
|
-
import { b as x, d as s } from "./scale-control-
|
|
4
|
+
import { b as x, d as s } from "./scale-control-BOI2g14-.js";
|
|
5
5
|
import { g as I } from "./utils-DJ13veBM.js";
|
|
6
6
|
function g(t, e) {
|
|
7
7
|
if (!t)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { a as o } from "./scale-control-
|
|
2
|
+
import { a as o } from "./scale-control-BOI2g14-.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { c as n, b as e, S as r, o as s, i as c } from "./styles-Do-o-qNU.js";
|
|
5
5
|
function p({ marker: t }) {
|
package/dist/index.es.js
CHANGED