spacemap 0.1.16 → 0.1.17
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 +2 -1
- package/dist/spacemap.iife.js +74 -74
- package/dist/spacemap.js +74 -74
- package/index.d.ts +6 -0
- package/index.js +81 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ your page:
|
|
|
47
47
|
```html
|
|
48
48
|
<div id="map" style="height: 500px"></div>
|
|
49
49
|
<script type="module">
|
|
50
|
-
import { createMap } from 'https://cdn.jsdelivr.net/npm/spacemap@0.1.
|
|
50
|
+
import { createMap } from 'https://cdn.jsdelivr.net/npm/spacemap@0.1.17/dist/spacemap.js';
|
|
51
51
|
const map = await createMap({ container: '#map' });
|
|
52
52
|
</script>
|
|
53
53
|
```
|
|
@@ -123,6 +123,7 @@ hold.release();
|
|
|
123
123
|
| `featureselect` | a nomenclature label was clicked |
|
|
124
124
|
| `clock` | the date, play state, rate or direction changed |
|
|
125
125
|
| `loading` / `progress` | data is coming in |
|
|
126
|
+
| `idle` | the camera is at rest and the view is fully loaded |
|
|
126
127
|
| `error` | the data could not be loaded |
|
|
127
128
|
| `notice` / `noticedismiss` | a condition worth telling the reader about |
|
|
128
129
|
| `layerschange` | a layer was switched |
|