Replace Map.addMarker by Map.addMarkers and Map.removeMarker by Map.removeMarkers.