ixmaps-gl 0.2.22 → 0.2.24
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/README.md +7 -4
- package/ixmaps-gl.js +1477 -184
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,7 +84,10 @@ page. It currently implements:
|
|
|
84
84
|
heads (`markersize`), `GRADIENT`/`FADEIN`, `DOPACITY`/`DOPACITYMIN`, static `DASH` dashes; colored
|
|
85
85
|
by `linecolor`, `colorfield` or the `CATEGORICAL`/`EXACT` category; densified, so they follow the
|
|
86
86
|
globe. `VALUES` text along the curve, `DYNAMICWIDTH`, `LONG` and the dash animation are noted in
|
|
87
|
-
the console, not drawn
|
|
87
|
+
the console, not drawn. `3D` (ixmaps-gl only; flat draws its flows flat) lifts each flow into an
|
|
88
|
+
arc above the map — both ends on the ground, the top at `archeight` (default 0.3) times the
|
|
89
|
+
flow's length; tilt the map with `.options({pitch: 60})` (and `bearing`, degrees) or by dragging
|
|
90
|
+
with the right mouse button
|
|
88
91
|
- **CHART\|BAR** (and `BARS`) — a bar chart per record or, with `AGGREGATE`/`CATEGORICAL`, per
|
|
89
92
|
item (aggregated as the pies), a bar per value field or category, as flat draws it: width and
|
|
90
93
|
length by `SIZE` (size field or the values' sum, `sizepow`), `normalsizevalue`, `rangescale`,
|
|
@@ -286,7 +289,7 @@ of your own project files gl can render.
|
|
|
286
289
|
Load the engine from jsDelivr, pinned to a release tag (or `@main` for the latest commit):
|
|
287
290
|
|
|
288
291
|
```html
|
|
289
|
-
<script src="https://cdn.jsdelivr.net/gh/gjrichter/ixmaps-gl@v0.2.
|
|
292
|
+
<script src="https://cdn.jsdelivr.net/gh/gjrichter/ixmaps-gl@v0.2.23/ixmaps-gl.js"></script>
|
|
290
293
|
```
|
|
291
294
|
|
|
292
295
|
or from unpkg, the npm package [`ixmaps-gl`](https://www.npmjs.com/package/ixmaps-gl)
|
|
@@ -294,13 +297,13 @@ or from unpkg, the npm package [`ixmaps-gl`](https://www.npmjs.com/package/ixmap
|
|
|
294
297
|
browser script, which defines the global `ixmaps`):
|
|
295
298
|
|
|
296
299
|
```html
|
|
297
|
-
<script src="https://unpkg.com/ixmaps-gl@0.2.
|
|
300
|
+
<script src="https://unpkg.com/ixmaps-gl@0.2.23/ixmaps-gl.js"></script>
|
|
298
301
|
```
|
|
299
302
|
|
|
300
303
|
or use a local copy (`<script src="ixmaps-gl.js"></script>`). A minimal page:
|
|
301
304
|
|
|
302
305
|
```html
|
|
303
|
-
<script src="https://cdn.jsdelivr.net/gh/gjrichter/ixmaps-gl@v0.2.
|
|
306
|
+
<script src="https://cdn.jsdelivr.net/gh/gjrichter/ixmaps-gl@v0.2.23/ixmaps-gl.js"></script>
|
|
304
307
|
<div id="map_div" style="position:absolute;inset:0;"></div>
|
|
305
308
|
|
|
306
309
|
<script>
|