homeflowjs 0.13.7 → 0.13.8
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/package.json
CHANGED
@@ -304,9 +304,11 @@ export default class GeonamesMap extends DraggableMap {
|
|
304
304
|
marker.on('mouseover', (e) => {
|
305
305
|
if (!marker?.property) return;
|
306
306
|
|
307
|
+
const geoPopup = Homeflow.get('custom_geo_popup') || this.popup;
|
308
|
+
|
307
309
|
L.popup({ closeButton: false, offset: [0, -40] })
|
308
310
|
.setLatLng(e.latlng)
|
309
|
-
.setContent(
|
311
|
+
.setContent(geoPopup(marker))
|
310
312
|
.openOn(this.map)
|
311
313
|
});
|
312
314
|
|