Changed to use Google Maps API correctly