gralobe 1.0.63 → 1.0.66
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 +8 -1
- package/dist/gralobe.js +388 -318
- package/dist/gralobe.js.map +1 -1
- package/dist/gralobe.umd.cjs +10 -10
- package/dist/gralobe.umd.cjs.map +1 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ The default configuration displays:
|
|
|
56
56
|
import { GlobeViz } from 'gralobe';
|
|
57
57
|
|
|
58
58
|
const globe = new GlobeViz('#container', {
|
|
59
|
-
// Earth texture: 'satellite' | 'natural' | 'dark' | 'light' | 'night' | 'topographic'
|
|
59
|
+
// Earth texture: 'satellite' | 'natural' | 'dark' | 'light' | 'night' | 'topographic' | 'day' | 'bathymetry' | 'atlas'
|
|
60
60
|
texture: 'satellite',
|
|
61
61
|
|
|
62
62
|
// Label style: 'none' | 'minimal' | 'major' | 'all' | 'data'
|
|
@@ -153,6 +153,13 @@ globe.setLabels('major'); // 'none' | 'minimal' | 'major' | 'all' | 'data'
|
|
|
153
153
|
await globe.setTexture('night');
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
+
Available texture presets:
|
|
157
|
+
|
|
158
|
+
- `satellite`, `natural`, `day`
|
|
159
|
+
- `dark`, `light`, `night`
|
|
160
|
+
- `topographic`, `bathymetry`
|
|
161
|
+
- `atlas` (political boundary map; pair with labels for names)
|
|
162
|
+
|
|
156
163
|
### Effects
|
|
157
164
|
|
|
158
165
|
```typescript
|