add function tooltip and geolocation