@fxi/zartigl 0.14.0 → 0.14.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/catalog.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as s, L as r, P as t, h as o, R as l, i, j as y, g as L, k as S, l as E, n as c, o as g, q as T, t as d, m, a as n, p as C, e as R, d as _, u as f, v as p, r as A, w as v, c as Y, x as u, b as P, s as k } from "./index-Cd7Nk4ve.js";
1
+ import { C as s, L as r, P as t, h as o, R as l, i, j as y, g as L, k as S, l as E, n as c, o as g, q as T, t as d, m, a as n, p as C, e as R, d as _, u as f, v as p, r as A, w as v, c as Y, x as u, b as P, s as k } from "./index-BDIf6Jc0.js";
2
2
  export {
3
3
  s as CATALOG_URL,
4
4
  r as LAYER_STYLE_DEFAULTS,
@@ -1716,7 +1716,7 @@ class Xt {
1716
1716
  if (!e)
1717
1717
  return null;
1718
1718
  const i = this.gl, r = this.gridTexture();
1719
- return this.options.repeatLongitude === !1 && (i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MIN_FILTER, i.NEAREST), i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MAG_FILTER, i.NEAREST)), i.pixelStorei(i.UNPACK_ALIGNMENT, 1), i.texImage2D(
1719
+ return this.options.nearestMask && (i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MIN_FILTER, i.NEAREST), i.texParameteri(i.TEXTURE_2D, i.TEXTURE_MAG_FILTER, i.NEAREST)), i.pixelStorei(i.UNPACK_ALIGNMENT, 1), i.texImage2D(
1720
1720
  i.TEXTURE_2D,
1721
1721
  0,
1722
1722
  i.R8,
@@ -2015,7 +2015,7 @@ class Si {
2015
2015
  }
2016
2016
  createField(e) {
2017
2017
  const i = new Xt(this.gl, e, {
2018
- repeatLongitude: !1,
2018
+ nearestMask: !0,
2019
2019
  animateSnapshot: !0,
2020
2020
  onError: (r) => {
2021
2021
  this.field === i && !this.seeking && this.reportError(r);
package/dist/engine.d.ts CHANGED
@@ -498,8 +498,13 @@ export declare class GeoVideoField {
498
498
  }
499
499
 
500
500
  export declare interface GeoVideoFieldOptions {
501
- /** Repeat global grids in longitude; false for an inset MapLibre grid. */
501
+ /**
502
+ * Repeat global grids in longitude, so a mesh closed to a full turn
503
+ * blends their last column into the first one; false for an inset grid.
504
+ */
502
505
  repeatLongitude?: boolean;
506
+ /** Sample the validity mask NEAREST, as zartigl's mask threshold expects. */
507
+ nearestMask?: boolean;
503
508
  /** Play the media frames of a single-date snapshot; times then follow its media cadence. */
504
509
  animateSnapshot?: boolean;
505
510
  onError?: (error: unknown) => void;
package/dist/engine.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Q as o, R as s, G as r, S as d, j as i, U as t, V as G, W as c, X as l, Y as V, n, Z as S, _ as L, $ as C, T as u, a0 as m, a1 as O, a2 as _, a3 as p, b as R, a4 as A, c as T, a5 as g, a6 as I, o as h, D as k, M as x, a7 as f, N as v, q as D, z as F, w as E, H as B, L as b, p as N, I as P, a8 as y, a9 as M, aa as W, ab as U, t as H, ac as Y, ad as j, ae as q, J as w, af as z, ag as J, P as K, v as Q, ah as X } from "./engine-CiDquHYk.js";
1
+ import { Q as o, R as s, G as r, S as d, j as i, U as t, V as G, W as c, X as l, Y as V, n, Z as S, _ as L, $ as C, T as u, a0 as m, a1 as O, a2 as _, a3 as p, b as R, a4 as A, c as T, a5 as g, a6 as I, o as h, D as k, M as x, a7 as f, N as v, q as D, z as F, w as E, H as B, L as b, p as N, I as P, a8 as y, a9 as M, aa as W, ab as U, t as H, ac as Y, ad as j, ae as q, J as w, af as z, ag as J, P as K, v as Q, ah as X } from "./engine-C8ZNzILO.js";
2
2
  import { B as $, a as aa, f as ea, b as oa, e as sa, c as ra, g as da, i as ia, r as ta, d as Ga } from "./backdrop-Dceb4d8E.js";
3
3
  export {
4
4
  $ as BACKDROP_OFF,