When clicking on list select the marker

This commit is contained in:
Edin Dazdarevic
2017-04-06 02:23:56 +02:00
parent d8263f7b0e
commit f96cc50687

View File

@@ -52,6 +52,10 @@ const viewListingDetails = ({ type, action }, component) => {
imageIndex: 0
}, () => {
markSeen(action.id);
const m = component.findMarker(action.id);
if (m) {
m.marker.setIcon(component.selectedMarkerIcon());
}
});
};