@abi-software/flatmap-viewer 2.4.1-b.3 → 2.4.1-b.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/README.rst +1 -1
- package/package.json +1 -1
- package/src/interactions.js +1 -1
package/README.rst
CHANGED
|
@@ -38,7 +38,7 @@ The map server endpoint is specified as ``MAP_ENDPOINT`` in ``src/main.js``. It
|
|
|
38
38
|
Package Installation
|
|
39
39
|
====================
|
|
40
40
|
|
|
41
|
-
* ``npm install @abi-software/flatmap-viewer@2.4.1-b.
|
|
41
|
+
* ``npm install @abi-software/flatmap-viewer@2.4.1-b.4``
|
|
42
42
|
|
|
43
43
|
Documentation
|
|
44
44
|
-------------
|
package/package.json
CHANGED
package/src/interactions.js
CHANGED
|
@@ -1226,7 +1226,7 @@ export class UserInteractions
|
|
|
1226
1226
|
markerElement.appendChild(markerIcon);
|
|
1227
1227
|
|
|
1228
1228
|
const markerPosition = this.__markerPosition(featureId, annotation);
|
|
1229
|
-
const marker = new maplibregl.Marker(markerElement)
|
|
1229
|
+
const marker = new maplibregl.Marker({marker: markerElement})
|
|
1230
1230
|
.setLngLat(markerPosition)
|
|
1231
1231
|
.addTo(this._map);
|
|
1232
1232
|
markerElement.addEventListener('mouseenter',
|