@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.3";
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
@@ -15,7 +15,7 @@ import lzString from 'lz-string';
15
15
  import 'parsimmon';
16
16
  import 'colorbrewer';
17
17
 
18
- const version = "4.0.3";
18
+ const version = "4.0.4";
19
19
 
20
20
  const CONSOLE_HIGHLIGHT_STYLE$1 = `
21
21
  padding: 2px 4px;
@@ -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({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-core",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "",
5
5
  "sideEffects": false,
6
6
  "type": "module",