@emuanalytics/flow-rdf-core 4.0.3 → 4.0.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/dist/index.cjs
CHANGED
|
@@ -35,7 +35,7 @@ const maplibre__default = /*#__PURE__*/_interopDefaultCompat(maplibre);
|
|
|
35
35
|
const EventEmitter__default = /*#__PURE__*/_interopDefaultCompat(EventEmitter);
|
|
36
36
|
const lzString__default = /*#__PURE__*/_interopDefaultCompat(lzString);
|
|
37
37
|
|
|
38
|
-
const version = "4.0.
|
|
38
|
+
const version = "4.0.4";
|
|
39
39
|
|
|
40
40
|
const CONSOLE_HIGHLIGHT_STYLE$1 = `
|
|
41
41
|
padding: 2px 4px;
|
package/dist/index.mjs
CHANGED
|
@@ -183,8 +183,7 @@ class MapPopup extends EventEmitter__default {
|
|
|
183
183
|
this._maplibrePopup.once("close", this.popupCloseHandler.bind(this));
|
|
184
184
|
this._contentContainer = document.createElement("div");
|
|
185
185
|
this._contentContainer.classList.add("flow-map-popup-content");
|
|
186
|
-
this._maplibrePopup.setDOMContent(this._contentContainer);
|
|
187
|
-
this._maplibrePopup.addTo(this.map.maplibreMap);
|
|
186
|
+
this._maplibrePopup.setLngLat(eventOrLngLat).setDOMContent(this._contentContainer).addTo(this.map.maplibreMap);
|
|
188
187
|
if (feature) {
|
|
189
188
|
this._feature = feature;
|
|
190
189
|
this._featureStream = new mapFeatureStream.MapFeatureStream({
|
|
@@ -154,8 +154,7 @@ class MapPopup extends EventEmitter$1 {
|
|
|
154
154
|
this._maplibrePopup.once("close", this.popupCloseHandler.bind(this));
|
|
155
155
|
this._contentContainer = document.createElement("div");
|
|
156
156
|
this._contentContainer.classList.add("flow-map-popup-content");
|
|
157
|
-
this._maplibrePopup.setDOMContent(this._contentContainer);
|
|
158
|
-
this._maplibrePopup.addTo(this.map.maplibreMap);
|
|
157
|
+
this._maplibrePopup.setLngLat(eventOrLngLat).setDOMContent(this._contentContainer).addTo(this.map.maplibreMap);
|
|
159
158
|
if (feature) {
|
|
160
159
|
this._feature = feature;
|
|
161
160
|
this._featureStream = new MapFeatureStream({
|