map-gl-offline 0.8.6 → 0.8.7
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 +59 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/managers/offlineMapManager/styleManagement.d.ts +2 -2
- package/dist/services/styleService.d.ts +1 -1
- package/dist/types/region.d.ts +21 -3
- package/dist/types/style.d.ts +6 -2
- package/dist/ui/controls/regionControl.d.ts +1 -1
- package/dist/ui/modals/regionFormModal.d.ts +2 -2
- package/dist/ui/offlineManagerControl.d.ts +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11388,7 +11388,7 @@ class PanelRenderer extends BaseComponent {
|
|
|
11388
11388
|
try {
|
|
11389
11389
|
const { loadStyleById } = await Promise.resolve().then(function () { return styleService; });
|
|
11390
11390
|
const styleEntry = await loadStyleById(region.styleId);
|
|
11391
|
-
accessToken = styleEntry?.accessToken;
|
|
11391
|
+
accessToken = styleEntry?.accessToken ?? undefined;
|
|
11392
11392
|
}
|
|
11393
11393
|
catch {
|
|
11394
11394
|
panelLogger.warn('Could not retrieve access token from stored style');
|