@emuanalytics/flow-rdf-ui 4.1.0-preview.26 → 4.1.0-preview.27
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/dist/components/map/map.component.mjs +6 -0
- package/dist/custom-elements.json +779 -771
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/package.json.mjs +1 -1
- package/dist/vscode.html-custom-data.json +96 -96
- package/package.json +1 -1
|
@@ -67,6 +67,8 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
67
67
|
handleBaseStyleChange() {
|
|
68
68
|
if (this._map) {
|
|
69
69
|
this._map.setBaseStyle(this.baseStyle);
|
|
70
|
+
} else {
|
|
71
|
+
this._pendingBaseStyle = this.baseStyle;
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
async connectedCallback() {
|
|
@@ -103,6 +105,10 @@ class FlowUiMap extends FlowRdfElement {
|
|
|
103
105
|
map.setCenter(this._pendingCenter);
|
|
104
106
|
this._pendingCenter = void 0;
|
|
105
107
|
}
|
|
108
|
+
if (this._pendingBaseStyle) {
|
|
109
|
+
map.setBaseStyle(this._pendingBaseStyle);
|
|
110
|
+
this._pendingBaseStyle = void 0;
|
|
111
|
+
}
|
|
106
112
|
map.on("loading", (ev) => {
|
|
107
113
|
this._mapLoading = ev.loading;
|
|
108
114
|
});
|