Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Update or-map to work with latest mapbox.js

Rich Turner5a9b236c468e
diff --git a/ui/component/or-map/src/mapwidget.ts b/ui/component/or-map/src/mapwidget.ts
index 094319220..e4f27a7d4 100644
--- a/ui/component/or-map/src/mapwidget.ts
+++ b/ui/component/or-map/src/mapwidget.ts
@@ -43,7 +43,7 @@ export class MapWidget {
if (!MapWidget._mapboxJsStyle) {
// @ts-ignore
- MapWidget._mapboxJsStyle = await import("mapbox.js/theme/style.css");
+ MapWidget._mapboxJsStyle = await import("mapbox.js/dist/mapbox.css");
}
// Add style to shadow root