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.umd.js
CHANGED
|
@@ -12953,14 +12953,15 @@
|
|
|
12953
12953
|
* Download Manager for offline map regions.
|
|
12954
12954
|
*
|
|
12955
12955
|
* This module handles the complete download workflow for offline map regions,
|
|
12956
|
-
* including styles, sprites, glyphs (fonts), and map tiles. It provides
|
|
12956
|
+
* including styles, sprites, glyphs (fonts), 3D models, and map tiles. It provides
|
|
12957
12957
|
* progress tracking across all download phases.
|
|
12958
12958
|
*
|
|
12959
12959
|
* **Download Phases:**
|
|
12960
12960
|
* 1. `style` - Downloads the map style JSON and processes sources
|
|
12961
12961
|
* 2. `sprites` - Downloads sprite images and JSON for map icons
|
|
12962
12962
|
* 3. `glyphs` - Downloads font glyphs for text rendering
|
|
12963
|
-
* 4. `
|
|
12963
|
+
* 4. `models` - Downloads 3D model assets (Mapbox Standard trees / turbines)
|
|
12964
|
+
* 5. `tiles` - Downloads map tiles for the specified region bounds
|
|
12964
12965
|
*
|
|
12965
12966
|
* **Usage:**
|
|
12966
12967
|
* The DownloadManager is typically instantiated by the OfflineManagerControl
|
|
@@ -13220,7 +13221,7 @@
|
|
|
13220
13221
|
* - Integrates seamlessly as a MapLibre GL control
|
|
13221
13222
|
* - Intercepts fetch requests to serve offline resources from IndexedDB
|
|
13222
13223
|
* - Supports light and dark themes
|
|
13223
|
-
* - Shows download progress across all phases (style, sprites, glyphs, tiles)
|
|
13224
|
+
* - Shows download progress across all phases (style, sprites, glyphs, models, tiles)
|
|
13224
13225
|
* - Optional bounding box visualization for regions
|
|
13225
13226
|
*
|
|
13226
13227
|
* @example
|