Code to picking latlngs from google maps (version 3)