map-gl-offline 0.8.3 → 0.8.4
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 +6 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/types/region.d.ts +1 -1
- package/dist/ui/managers/downloadManager.d.ts +3 -2
- package/dist/ui/offlineManagerControl.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12959,14 +12959,15 @@ class RegionControl {
|
|
|
12959
12959
|
* Download Manager for offline map regions.
|
|
12960
12960
|
*
|
|
12961
12961
|
* This module handles the complete download workflow for offline map regions,
|
|
12962
|
-
* including styles, sprites, glyphs (fonts), and map tiles. It provides
|
|
12962
|
+
* including styles, sprites, glyphs (fonts), 3D models, and map tiles. It provides
|
|
12963
12963
|
* progress tracking across all download phases.
|
|
12964
12964
|
*
|
|
12965
12965
|
* **Download Phases:**
|
|
12966
12966
|
* 1. `style` - Downloads the map style JSON and processes sources
|
|
12967
12967
|
* 2. `sprites` - Downloads sprite images and JSON for map icons
|
|
12968
12968
|
* 3. `glyphs` - Downloads font glyphs for text rendering
|
|
12969
|
-
* 4. `
|
|
12969
|
+
* 4. `models` - Downloads 3D model assets (Mapbox Standard trees / turbines)
|
|
12970
|
+
* 5. `tiles` - Downloads map tiles for the specified region bounds
|
|
12970
12971
|
*
|
|
12971
12972
|
* **Usage:**
|
|
12972
12973
|
* The DownloadManager is typically instantiated by the OfflineManagerControl
|
|
@@ -13226,7 +13227,7 @@ class ModalManager {
|
|
|
13226
13227
|
* - Integrates seamlessly as a MapLibre GL control
|
|
13227
13228
|
* - Intercepts fetch requests to serve offline resources from IndexedDB
|
|
13228
13229
|
* - Supports light and dark themes
|
|
13229
|
-
* - Shows download progress across all phases (style, sprites, glyphs, tiles)
|
|
13230
|
+
* - Shows download progress across all phases (style, sprites, glyphs, models, tiles)
|
|
13230
13231
|
* - Optional bounding box visualization for regions
|
|
13231
13232
|
*
|
|
13232
13233
|
* @example
|