implemented gmaps as a common control