@nika-js/onlymap 0.3.2 → 0.3.4

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.
@@ -13,6 +13,10 @@
13
13
  " import \"@nika-js/onlymap\";",
14
14
  " import \"@nika-js/onlymap/onlymapjs.css\";",
15
15
  " </script>",
16
+ " <style>",
17
+ " html, body { margin: 0; height: 100%; }",
18
+ " om-map { display: block; height: 100vh; }",
19
+ " </style>",
16
20
  "</head>",
17
21
  "<body>",
18
22
  "",
@@ -23,7 +27,7 @@
23
27
  " <om-layer id=\"${3:points}\" type=\"ScatterplotLayer\"",
24
28
  " data=\"${4:../data/bikes.json}\"",
25
29
  " label=\"${5:Points}\" color=\"${6:#e63946}\"",
26
- " get-position=\"[\$lon, \$lat]\"",
30
+ " get-position=\"[\\$lon, \\$lat]\"",
27
31
  " pickable></om-layer>",
28
32
  "",
29
33
  " <!-- Rich HTML popup — follows the last click via anchor-from=\"selection\" -->",
@@ -63,6 +67,10 @@
63
67
  " import \"@nika-js/onlymap\";",
64
68
  " import \"@nika-js/onlymap/onlymapjs.css\";",
65
69
  " </script>",
70
+ " <style>",
71
+ " html, body { margin: 0; height: 100%; }",
72
+ " om-map { display: block; height: 100vh; }",
73
+ " </style>",
66
74
  "</head>",
67
75
  "<body>",
68
76
  "",
@@ -101,7 +109,7 @@
101
109
  "<om-layer id=\"${1:points}\" type=\"ScatterplotLayer\"",
102
110
  " data=\"${2:../data/bikes.json}\"",
103
111
  " label=\"${3:Points}\" color=\"${4:#e63946}\"",
104
- " get-position=\"[\$lon, \$lat]\"",
112
+ " get-position=\"[\\$lon, \\$lat]\"",
105
113
  " pickable></om-layer>$0"
106
114
  ]
107
115
  },
@@ -19,7 +19,7 @@ async function v(N = {}) {
19
19
  if (n) {
20
20
  const { createRequire: I } = await import(
21
21
  /*webpackIgnore:true*/
22
- "./lerc-DgHmuuRe.js"
22
+ "./lerc-vBCRLD5s.js"
23
23
  ).then((g) => g._);
24
24
  var O = I(import.meta.url);
25
25
  }
@@ -1,4 +1,4 @@
1
- import { C as ny, L as sy, M as oy, m as ay, c as ka, z as oc, a as Sd, G as sm, V as ly, W as cy, b as uy, g as hy, d as Vu, f as Ed, e as dy, l as py, u as fy, D as Qf, h as my } from "./index-DYtODPDb.js";
1
+ import { C as ny, L as sy, M as oy, m as ay, c as ka, z as oc, a as Sd, G as sm, V as ly, W as cy, b as uy, g as hy, d as Vu, f as Ed, e as dy, l as py, u as fy, D as Qf, h as my } from "./index-BR1HjJoE.js";
2
2
  const Cd = Math.PI / 180, gy = 180 / Math.PI;
3
3
  function em(Pe, Q = 0) {
4
4
  const ge = Math.min(180, Pe) * Cd;
@@ -1,4 +1,4 @@
1
- import { ae as Be, af as le, ag as ce, ah as De, ai as Oe, aj as ke } from "./index-DYtODPDb.js";
1
+ import { ae as Be, af as le, ag as ce, ah as De, ai as Oe, aj as ke } from "./index-BR1HjJoE.js";
2
2
  import { y as ve, a as he, z as G, R as J, A as ue, C as Fe, F as je, n as xe, 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,5 +1,5 @@
1
- import { i as E, j as S, k as R, n as N, o as h, p as w, q as O, s as W, r as x, t as I, v as B, w as _, x as P, y as k, A as $, B as z, E as v, F, H as C, I as U, J as p, K as M } from "./index-DYtODPDb.js";
2
- import { N as $e, R as ze, _ as ve, O as Ce, P as Ue, Q as Me, S as je, T as De, U as Je, X as qe, Y as He, Z as Ve, $ as Ge, a0 as Ke, a1 as Qe, a2 as Xe, a3 as Ye, a4 as Ze, a5 as et, a6 as tt, a7 as nt, a8 as rt, a9 as at, aa as st, ab as ot } from "./index-DYtODPDb.js";
1
+ import { i as E, j as S, k as R, n as N, o as h, p as w, q as O, s as W, r as x, t as I, v as B, w as _, x as P, y as k, A as $, B as z, E as v, F, H as C, I as U, J as p, K as M } from "./index-BR1HjJoE.js";
2
+ import { N as $e, R as ze, _ as ve, O as Ce, P as Ue, Q as Me, S as je, T as De, U as Je, X as qe, Y as He, Z as Ve, $ as Ge, a0 as Ke, a1 as Qe, a2 as Xe, a3 as Ye, a4 as Ze, a5 as et, a6 as tt, a7 as nt, a8 as rt, a9 as at, aa as st, ab as ot } from "./index-BR1HjJoE.js";
3
3
  import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
4
4
  async function J(t, e, n = {}, r = {}) {
5
5
  const a = E(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };