@nika-js/onlymap 0.11.1 → 0.11.2
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/CHANGELOG.md +5 -0
- package/README.md +1 -1
- package/dist/{basemap-CHFwxaRT.js → basemap-BlMlSRTo.js} +2 -2
- package/dist/cluster-options.d.ts +11 -0
- package/dist/{geoparquet-DBzSJJz_.js → geoparquet-Bqhh_idk.js} +1 -1
- package/dist/{globe-view-D0eDmIGO.js → globe-view-DQ0GLKSn.js} +1 -1
- package/dist/{hillshade-DodGS9DL.js → hillshade-CxMG6ocE.js} +1 -1
- package/dist/{index-Ca5y3OLs.js → index-9W2ZrRyF.js} +1 -1
- package/dist/{index-D04CeeYu.js → index-CE3n5pQz.js} +11169 -11132
- package/dist/{index-wRR0a71N.js → index-CF7q_mKH.js} +2 -2
- package/dist/{index-C7Tpf_BA.js → index-CdAb2VR8.js} +1 -1
- package/dist/{index-DH1_IQmW.js → index-DBYIrdvb.js} +3 -3
- package/dist/{index-em-_HmNV.js → index-DO3-mfIk.js} +3 -3
- package/dist/{index-BGvTOkkE.js → index-DklXFu6D.js} +1 -1
- package/dist/{index-5iFHs_bW.js → index-aoMhS8VK.js} +1 -1
- package/dist/{index-CrnprTab.js → index-m-7enOKi.js} +1 -1
- package/dist/layers/cluster-layer.d.ts +7 -0
- package/dist/{lerc-KZgSVKKQ.js → lerc-vNjPdkTs.js} +1 -1
- package/dist/onlymap.standalone.js +19164 -19127
- package/dist/onlymapjs.js +1 -1
- package/dist/{post-process-effect-eJXo3MSl.js → post-process-effect-eVlcdR0m.js} +1 -1
- package/dist/{raster-CHuauCiR.js → raster-8iVEbDdp.js} +3 -3
- package/dist/{raster-pipeline-Coou2lF-.js → raster-pipeline-OqdVks6Y.js} +1 -1
- package/dist/{text-on-path-DUfdTGzX.js → text-on-path-C34MMnKY.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-BYLzFMeQ.js → zarr-Dla-EY4o.js} +2 -2
- package/docs/cartograph.md +2 -2
- package/llms.txt +1 -1
- package/onlymapjs.attributes.json +12 -0
- package/onlymapjs.html-data.json +16 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +7 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aM as R, aN as S, aO as E, aP as N, aQ as h, aR as w, aS as W, aT as O, aU as x, aV as I, aW as B, aX as _, aY as P, aZ as k, a_ as $, a$ as z, b0 as C, b1 as F, b2 as v, b3 as M, b4 as p, b5 as U } from "./index-
|
|
2
|
-
import { b6 as $e, b7 as ze, b8 as Ce, b9 as ve, ba as Me, bb as Ue, bc as je, bd as De, be as qe, bf as Je, bg as Ve, bh as Ge, bi as He, bj as Qe, bk as Xe, bl as Ye, bm as Ze, bn as Ke, bo as et, bp as tt, bq as nt, br as rt, bs as at, bt as st, bu as ot } from "./index-
|
|
1
|
+
import { aM as R, aN as S, aO as E, aP as N, aQ as h, aR as w, aS as W, aT as O, aU as x, aV as I, aW as B, aX as _, aY as P, aZ as k, a_ as $, a$ as z, b0 as C, b1 as F, b2 as v, b3 as M, b4 as p, b5 as U } from "./index-CE3n5pQz.js";
|
|
2
|
+
import { b6 as $e, b7 as ze, b8 as Ce, b9 as ve, ba as Me, bb as Ue, bc as je, bd as De, be as qe, bf as Je, bg as Ve, bh as Ge, bi as He, bj as Qe, bk as Xe, bl as Ye, bm as Ze, bn as Ke, bo as et, bp as tt, bq as nt, br as rt, bs as at, bt as st, bu as ot } from "./index-CE3n5pQz.js";
|
|
3
3
|
import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
async function q(t, e, n = {}, r = {}) {
|
|
5
5
|
const a = R(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bx as Be, by as le, bz as ce, bA as De, bB as Oe, bC as ke } from "./index-
|
|
1
|
+
import { bx as Be, by as le, bz as ce, bA as De, bB as Oe, bC as ke } from "./index-CE3n5pQz.js";
|
|
2
2
|
import { y as ve, a as he, z as G, R as J, A as ue, C as Fe, F as xe, n as je, S as Ie, E as Ne } from "./recordbatch-Bpc0uxFn.js";
|
|
3
3
|
import { g as V, a as fe, b as Le, c as Ue, d as Me, e as qe, m as Ve } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
import { c as $e } from "./convert-arrow-schema-DrAihRf9.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ac as j, ad as S, ae as A, af as M, ag as L } from "./index-
|
|
2
|
-
import { ah as H, ai as V, aj as X, ak as K } from "./index-
|
|
3
|
-
import { P as h } from "./post-process-effect-
|
|
1
|
+
import { ac as j, ad as S, ae as A, af as M, ag as L } from "./index-CE3n5pQz.js";
|
|
2
|
+
import { ah as H, ai as V, aj as X, ak as K } from "./index-CE3n5pQz.js";
|
|
3
|
+
import { P as h } from "./post-process-effect-eVlcdR0m.js";
|
|
4
4
|
const O = `
|
|
5
5
|
float omfx_lum(vec3 c) { return dot(c, vec3(0.299, 0.587, 0.114)); }
|
|
6
6
|
float omfx_hash(vec2 p) { return fract(sin(dot(p, vec2(12.9898, 78.233))) * 43758.5453); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as t, a as o, b as i, C as l, c as p, d as n, D as _, e as c, f as g, F as h, L as m, g as L, h as y, i as f, j as w, M as S, k as V, O as b, l as C, m as E, P as I, T as P, n as T, o as M, U as d, V as A, p as O, q as u, W as N, r as k, s as x, t as D, u as G, G as R, v as j, w as W, x as q, y as v, z, B as F, E as U, H as Y, I as B, J as H, K as J, N as K, Q, R as X, S as Z, X as $, Y as aa, Z as sa, _ as ea, $ as ra, a0 as ta, a1 as oa, a2 as ia } from "./index-
|
|
2
|
-
import { P as s } from "./post-process-effect-
|
|
3
|
-
import { G as pa, a as na } from "./globe-view-
|
|
1
|
+
import { A as t, a as o, b as i, C as l, c as p, d as n, D as _, e as c, f as g, F as h, L as m, g as L, h as y, i as f, j as w, M as S, k as V, O as b, l as C, m as E, P as I, T as P, n as T, o as M, U as d, V as A, p as O, q as u, W as N, r as k, s as x, t as D, u as G, G as R, v as j, w as W, x as q, y as v, z, B as F, E as U, H as Y, I as B, J as H, K as J, N as K, Q, R as X, S as Z, X as $, Y as aa, Z as sa, _ as ea, $ as ra, a0 as ta, a1 as oa, a2 as ia } from "./index-CE3n5pQz.js";
|
|
2
|
+
import { P as s } from "./post-process-effect-eVlcdR0m.js";
|
|
3
|
+
import { G as pa, a as na } from "./globe-view-DQ0GLKSn.js";
|
|
4
4
|
export {
|
|
5
5
|
t as AmbientLight,
|
|
6
6
|
o as Attribute,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bB as Bt, bM as Xt, bN as Yt, bO as Us } from "./index-
|
|
1
|
+
import { bB as Bt, bM as Xt, bN as Yt, bO as Us } from "./index-CE3n5pQz.js";
|
|
2
2
|
import { w as gs, t as Hs, f as Ws, m as Qs } from "./mgrs-BY9bIvp4.js";
|
|
3
3
|
import { c as Xs } from "./convert-arrow-schema-DrAihRf9.js";
|
|
4
4
|
import { y as Ys, A as bt, a as Ks, z as Vs, R as Zs } from "./recordbatch-Bpc0uxFn.js";
|
|
@@ -44,6 +44,11 @@ export interface ClusterLayerProps {
|
|
|
44
44
|
clusterMinPoints: number;
|
|
45
45
|
aggregates: readonly ClusterAggregate[];
|
|
46
46
|
clusterLabel: boolean;
|
|
47
|
+
/** The count as a badge (0.11.2): edge/corner placement, a pill behind it, its colour and size. */
|
|
48
|
+
clusterLabelPosition?: string;
|
|
49
|
+
clusterLabelBackground?: number[];
|
|
50
|
+
clusterLabelColor?: number[];
|
|
51
|
+
clusterLabelSize?: number;
|
|
47
52
|
getClusterRadius?: unknown;
|
|
48
53
|
getClusterFillColor?: unknown;
|
|
49
54
|
getClusterLineColor?: unknown;
|
|
@@ -94,6 +99,8 @@ export declare function positionLookup(data: LayerData, shape: Shape, getPositio
|
|
|
94
99
|
export declare function toHostShape(clusters: readonly ClusterRow[], shape: Shape): unknown[] | ColumnarData;
|
|
95
100
|
/** The rows at `indices`, keeping the host's shape (a columnar host gets sliced columns). */
|
|
96
101
|
export declare function sliceRows(data: LayerData, indices: readonly number[]): unknown[] | ColumnarData;
|
|
102
|
+
/** Unit direction of a `cluster-label-position` in screen space (y down): `top-right` → [1, -1]. */
|
|
103
|
+
export declare function labelOffsetUnits(position: string | undefined): [number, number];
|
|
97
104
|
/** The bubble fill when no `get-cluster-fill-color` is authored: the host's constant fill, else a flat blue. */
|
|
98
105
|
export declare function fallbackClusterFill(hostProps: Record<string, unknown>): number[];
|
|
99
106
|
export declare class ClusterLayer extends CompositeLayer<ClusterLayerProps> {
|