spacemap 0.1.6 → 0.1.8
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 +4 -3
- package/dist/spacemap.iife.js +27 -27
- package/dist/spacemap.js +27 -27
- package/index.d.ts +1 -1
- package/index.js +28 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ your page:
|
|
|
44
44
|
```html
|
|
45
45
|
<div id="map" style="height: 500px"></div>
|
|
46
46
|
<script type="module">
|
|
47
|
-
import { createMap } from 'https://cdn.jsdelivr.net/npm/spacemap@0.1.
|
|
47
|
+
import { createMap } from 'https://cdn.jsdelivr.net/npm/spacemap@0.1.8/dist/spacemap.js';
|
|
48
48
|
const map = await createMap({ container: '#map' });
|
|
49
49
|
</script>
|
|
50
50
|
```
|
|
@@ -435,8 +435,9 @@ object first, then the chrome drawn around them:
|
|
|
435
435
|
|
|
436
436
|
`planets`, `dwarfPlanets`, `moons`, `asteroids`, `comets`, `spacecraft`,
|
|
437
437
|
`satellites` (the ones round Earth), `debris`, `orbits`, `labels` (the names of
|
|
438
|
-
objects), `
|
|
439
|
-
|
|
438
|
+
objects), `halos` (the rings that mark objects too far to show a disc),
|
|
439
|
+
`nomenclature` (the names of places on them) and `stars` (the sky behind
|
|
440
|
+
everything).
|
|
440
441
|
|
|
441
442
|
```js
|
|
442
443
|
const map = await createMap({
|