@nika-js/onlymap 0.6.26 → 0.7.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/CHANGELOG.md +22 -0
- package/README.md +2 -2
- package/dist/{LercDecode.es-B4KknLMs.js → LercDecode.es-gFG_4xNk.js} +1 -1
- package/dist/{basemap-C4bmWq6M.js → basemap-oVln_CKU.js} +1 -1
- package/dist/elements/om-map.d.ts +9 -1
- package/dist/{geoparquet-BPMda753.js → geoparquet-CufpN8G1.js} +1 -1
- package/dist/{index-DtU_XhTX.js → index--zvhxlLl.js} +2 -2
- package/dist/{index-B5hsHnPl.js → index-CLe7spTj.js} +1 -1
- package/dist/{index-COuIQk2Z.js → index-CnwhAoQ5.js} +11283 -11046
- package/dist/{index-DMT_7aV3.js → index-DEIMxmvY.js} +1 -1
- package/dist/{index-DK5w4OxN.js → index-EXrBWGX7.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/layer-registry.d.ts +10 -0
- package/dist/{lerc-BNW5A6zN.js → lerc-nHFgnN0N.js} +2 -2
- package/dist/onlymap.standalone.js +29352 -28617
- package/dist/onlymapjs.js +91 -89
- package/dist/{raster-eMqzBMQf.js → raster-CE4jsgUi.js} +1086 -799
- package/dist/raster-identify.d.ts +19 -0
- package/dist/{raster-pipeline-Dg-GSDP3.js → raster-pipeline-ghFqryqb.js} +665 -453
- package/dist/raster-pipeline.d.ts +109 -14
- package/dist/raster.d.ts +135 -1
- package/dist/react.js +253 -234
- package/dist/runtime-core.d.ts +23 -0
- package/dist/version.d.ts +1 -1
- package/dist/widget-layout.d.ts +18 -0
- package/dist/{zarr-Dv7OiUcg.js → zarr-DjEYckHG.js} +10 -3
- package/docs/design/cog-v2.md +223 -0
- package/llms.txt +2 -2
- package/onlymapjs.attributes.json +9 -0
- package/onlymapjs.html-data.json +24 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +1 -1
- package/skills/onlymapjs/references/syntax.md +12 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ak as Bt,
|
|
1
|
+
import { ak as Bt, az as Xt, aA as Yt, aB as Us } from "./index-CnwhAoQ5.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";
|
package/dist/index.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export type { LayerDescriptor, MapControllerOptions, CameraState, OverlayPositio
|
|
|
79
79
|
export type { LayerFilterFieldSpec, LayerCategoryFilterFieldSpec } from "./attribute-resolution";
|
|
80
80
|
export { releaseDataOwner } from "./data-layer";
|
|
81
81
|
export type { DataTransportOwner } from "./data-layer";
|
|
82
|
-
export { MANAGED_SLOTS, LEGACY_POSITION_ALIASES, ALL_POSITION_VALUES, FOLD_SIDES, resolveSlot, slotLayout, slotContainerStyle, foldSideForSlot, foldToggleSlot, foldDrawerStyle, foldPanelStyle, foldToggleStyle, resolveFoldBreakpointPx, shouldFoldAtWidth, DEFAULT_FOLD_BREAKPOINT_PX, FOLD_HYSTERESIS_PX, parseWidgetStyle, WIDGET_STYLE_KEY_NAMES, } from "./widget-layout";
|
|
82
|
+
export { MANAGED_SLOTS, LEGACY_POSITION_ALIASES, ALL_POSITION_VALUES, FOLD_SIDES, resolveSlot, slotLayout, slotContainerStyle, foldSideForSlot, foldToggleSlot, foldDrawerStyle, foldPanelStyle, foldToggleStyle, resolveFoldBreakpointPx, shouldFoldAtWidth, DEFAULT_FOLD_BREAKPOINT_PX, FOLD_HYSTERESIS_PX, FOLD_BOTTOM_CLEARANCE_PX, bottomEndLiftPx, parseWidgetStyle, WIDGET_STYLE_KEY_NAMES, } from "./widget-layout";
|
|
83
83
|
export type { ManagedSlot, WidgetSlot, FoldSide, SlotLayout, WidgetStyleParse } from "./widget-layout";
|
|
84
84
|
export { auditLayout, settleLayout, DEFAULT_AUDIT_WIDTHS, EDGE_TOLERANCE_PX, AUDIT_EXEMPTIONS } from "./layout-audit";
|
|
85
85
|
export type { LayoutAuditPage, LayoutDiagnostic, AuditOptions } from "./layout-audit";
|
package/dist/layer-registry.d.ts
CHANGED
|
@@ -73,6 +73,16 @@ export interface LayerSchema {
|
|
|
73
73
|
carriesRoute?: boolean;
|
|
74
74
|
/** Layer-owned async asset resolver; keeps parse/runtime branching registry-driven rather than name-matched. */
|
|
75
75
|
assetResolver?: "image-overlay";
|
|
76
|
+
/**
|
|
77
|
+
* Resolves an automatic rescale window from its source header (COG v2
|
|
78
|
+
* phase 3) and supports the `onAutoWindow` deck prop — the runtime
|
|
79
|
+
* injects that hook only into these types (legend derivation for
|
|
80
|
+
* auto-stretched sources), same one-source-of-truth reasoning as
|
|
81
|
+
* `carriesTileset`.
|
|
82
|
+
*/
|
|
83
|
+
carriesRasterWindow?: boolean;
|
|
84
|
+
/** Answers pixel-identify queries (COG v2 phase 4) via the eager raster-identify registry — the pick path synthesizes a selection from its per-band values when a click/hover lands on no vector feature. */
|
|
85
|
+
carriesRasterIdentify?: boolean;
|
|
76
86
|
}
|
|
77
87
|
export declare function registerLayer(schema: Omit<LayerSchema, "tier"> & {
|
|
78
88
|
tier?: LayerSchema["tier"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, D as s } from "./raster-
|
|
1
|
+
import { C as a, D as s } from "./raster-CE4jsgUi.js";
|
|
2
2
|
const D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null
|
|
4
4
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -8,7 +8,7 @@ var t;
|
|
|
8
8
|
})(t || (t = {}));
|
|
9
9
|
let l = !1;
|
|
10
10
|
async function d() {
|
|
11
|
-
const e = await import("./LercDecode.es-
|
|
11
|
+
const e = await import("./LercDecode.es-gFG_4xNk.js");
|
|
12
12
|
return l || (await e.load(), l = !0), e;
|
|
13
13
|
}
|
|
14
14
|
async function i(e, r) {
|