gralobe 1.0.68 → 1.0.70
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 +18 -0
- package/dist/gralobe.js +134 -107
- package/dist/gralobe.js.map +1 -1
- package/dist/gralobe.umd.cjs +18 -18
- package/dist/gralobe.umd.cjs.map +1 -1
- package/dist/index.d.ts +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -299,6 +299,24 @@ npm run build:lib
|
|
|
299
299
|
npm run build
|
|
300
300
|
```
|
|
301
301
|
|
|
302
|
+
## Z-Index Layering
|
|
303
|
+
|
|
304
|
+
Gralobe constrains all UI elements to z-index range **5-99** for predictable layering:
|
|
305
|
+
|
|
306
|
+
| Z-Index | Element |
|
|
307
|
+
|---------|---------|
|
|
308
|
+
| 5 | Country labels |
|
|
309
|
+
| 10 | Legend |
|
|
310
|
+
| 50 | Toolbar (bottom-right buttons) |
|
|
311
|
+
| 60 | Hover tooltips |
|
|
312
|
+
| 70 | lil-gui control panels |
|
|
313
|
+
| 80 | Data grid overlay |
|
|
314
|
+
| 90 | Category bar |
|
|
315
|
+
| 95 | GUI toggle button |
|
|
316
|
+
| 99 | Peak tooltips |
|
|
317
|
+
|
|
318
|
+
**For host applications:** Use z-index 100+ for any UI that must appear above gralobe controls (navbars, modals, install prompts, etc.).
|
|
319
|
+
|
|
302
320
|
## Browser Support
|
|
303
321
|
|
|
304
322
|
Gralobe requires WebGL support. It works in all modern browsers:
|