Adds function to calculate google maps url.