Filter out features which don't have a map attribute before storing them.
clear() shouldn't impact the use of showCenterMarker.
Update showCenterMarker to directly update the feature array.

This prevents 2 race conditions:
* showCenterMarker = true, map.clear() should still show the center marker.
* map.clear(), showCenterMarker = true should only add 1 marker.