The aim of this issue is to remove the cascading event emission between PoiCardContent and all his parent components.
We could simply trigger an action from PoiCardContent when catching a user event.
Then we could base High-level components / pages on state from the store for further behaviors.
Applies to:
zoomClick
Check if selectedFeature is set, if not set the clicked one (pass an action=zoom arg to setSelectedFeature action)
From pages, on selectedFeature watch with action === zoom, call mapFeature.goToSelectedFeature() method
The aim of this issue is to remove the cascading event emission between PoiCardContent and all his parent components. We could simply trigger an action from PoiCardContent when catching a user event. Then we could base High-level components / pages on state from the store for further behaviors.
Applies to:
action=zoom
arg to setSelectedFeature action)action === zoom
, call mapFeature.goToSelectedFeature() method