Refactored according to changes in ko.google.maps.