homeflowjs 0.12.7 → 0.12.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
@@ -281,7 +281,7 @@ export default class DraggableMap {
|
|
281
281
|
const layer = Homeflow.get('pin_clustering') ? this.clusteringMarkerLayer : this.nonClusteringMarkerLayer;
|
282
282
|
|
283
283
|
if (property.property_id === null || property.lat === 0 || property.lng === 0) return;
|
284
|
-
if (geonameId && Homeflow.get('breadcrumbs_map') && geonameId !== currentGeonameId()) return;
|
284
|
+
if (geonameId && Homeflow.get('breadcrumbs_map') && geonameId !== currentGeonameId() && !this.isDisplayProperties()) return;
|
285
285
|
|
286
286
|
layer.addLayer(this.generateMarker(property));
|
287
287
|
}
|
@@ -20,7 +20,11 @@ export default class DrawableMap extends DraggableMap {
|
|
20
20
|
Homeflow.kickEvent('editbanner', this);
|
21
21
|
Homeflow.kickEvent('deletebanner', this);
|
22
22
|
this.repositionDrawControls();
|
23
|
-
|
23
|
+
// note: I'm not 100% sure this is will ever be required if super.init() is called
|
24
|
+
// something to review in homeflow_next
|
25
|
+
if (!Homeflow.get('breadcrumbs_map')) {
|
26
|
+
return this.onMapDrag();
|
27
|
+
}
|
24
28
|
}
|
25
29
|
|
26
30
|
onMapDrag() {
|