spacemap 0.1.12 → 0.1.13

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 CHANGED
@@ -16,14 +16,15 @@ The code is MPL-2.0. The data and imagery the map fetches keep the terms of
16
16
  their sources, which is why the credit line the map draws is not removable:
17
17
  these license require attribution.
18
18
 
19
- Every surface map and panorama is ranked by its terms, and the SDK draws only
20
- what a page may use:
19
+ Every surface map, panorama and spacecraft model is ranked by its terms, and
20
+ the SDK draws only what a page may use:
21
21
 
22
- - **Open** imagery is free for any use, commercial included. It is the default
23
- and all a map draws unless asked otherwise.
24
- - **Non-commercial** imagery is licensed for educational and non-commercial
25
- use: the Uranus map, and the Huygens descent panorama of Titan. A page that
26
- is not commercial turns it on:
22
+ - **Open** imagery and models are free for any use, commercial included. They
23
+ are the default and all a map draws unless asked otherwise.
24
+ - **Non-commercial** imagery and models are licensed for educational and
25
+ non-commercial use: the Uranus map, the Huygens descent panorama of Titan,
26
+ and the models of a few craft, most of them Soviet (Buran, Vostok, Lunokhod,
27
+ Salyut 1). A page that is not commercial turns them on:
27
28
 
28
29
  ```js
29
30
  const map = await createMap({ container: '#map', includeNonCommercial: true });
@@ -31,7 +32,9 @@ what a page may use:
31
32
 
32
33
  Asking for it is accepting its terms, and the credit line naming each author
33
34
  is part of those terms. Without the flag Uranus renders in a flat fallback
34
- colour, and the Huygens stop is a place on Titan with no panorama to open.
35
+ colour, the Huygens stop is a place on Titan with no panorama to open, and
36
+ those craft stay markers with no model. Mir is the exception: it has an open
37
+ model too, and the map draws that one.
35
38
 
36
39
  - **Site-only** imagery is licensed to spacemap.co alone and never reaches the
37
40
  SDK.
@@ -44,7 +47,7 @@ your page:
44
47
  ```html
45
48
  <div id="map" style="height: 500px"></div>
46
49
  <script type="module">
47
- import { createMap } from 'https://cdn.jsdelivr.net/npm/spacemap@0.1.12/dist/spacemap.js';
50
+ import { createMap } from 'https://cdn.jsdelivr.net/npm/spacemap@0.1.13/dist/spacemap.js';
48
51
  const map = await createMap({ container: '#map' });
49
52
  </script>
50
53
  ```