added functionality for gmaps markers