(ui-input-geolocation)= # GeoLocation Let the user select a point from the map. **Reference type:** {class}`dasf_exb.input_models.GeoLocation` :::{dropdown} Usage ```python from dasf_exb.input_models import GeoLocation def get_point_information(point: GeoLocation) -> str: return f"selected point at {point.lon}°E and {point.lat}°N" ``` ::: Using this model in the annotation of your method or function call requires the DASF widget to be connected to a map widget. This then let's the user select a single point on the map by clicking a button, instead of manually entering longitude and latitude of a location. ![screenshot of a GeoLocation Button](screenshots/geolocation-button.png) Once the user clicks the button, he/she can either manually enter latitude and longitude, or click on the map. The little {octicon}`lock` button can optionally clicked to avoid manipulation via hovering over the map. ![activate geolocation button](screenshots/geolocation-button-selected.png)