Vectorize addMarker like most of the other methods