adding geolocate option to map panel