homeflowjs 0.13.37 → 0.13.38
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
@@ -208,6 +208,20 @@ export default class DrawableMap extends DraggableMap {
|
|
208
208
|
this.drawnItems.clearLayers();
|
209
209
|
if (this.marker_layer) { this.map.removeLayer(this.marker_layer); }
|
210
210
|
if (this.geo_marker_layer != null) { return this.map.removeLayer(this.geo_marker_layer); }
|
211
|
+
store.dispatch(setSearchField({ poly: null }));
|
212
|
+
this.updateURL();
|
213
|
+
Homeflow.kickEvent('deletebannertoggled');
|
214
|
+
if (Homeflow.get('initial_properties_payload')) {
|
215
|
+
const initialProperties = Homeflow.get('initial_properties_payload');
|
216
|
+
this.properties = initialProperties;
|
217
|
+
this.setMarkers();
|
218
|
+
}
|
219
|
+
if (this.circle != null) {
|
220
|
+
this.map.addLayer(this.circle);
|
221
|
+
this.onMapDrag();
|
222
|
+
} else {
|
223
|
+
this.buildPolygon();
|
224
|
+
}
|
211
225
|
} else {
|
212
226
|
return Homeflow.kickEvent('deletebannertoggled');
|
213
227
|
}
|