The Current Location Manager widget is a beta feature and may not be available in your environment. If you are interested in using this feature, contact your Palantir representative.
The Current Location Manager widget prompts users to share their location and publishes the detected location as a string variable that you can use in your application. Additionally, the widget can display a human-readable preview of the detected location to the end user, determined using the Mapbox reverse geocoding API.
If the user denies access to their current location, a warning is shown and no current location variable value is set:
Note that the Current Location Manager widget will only prompt the user to share their location and update the user's detected location while the page containing it is open. If your user navigates to a different page within your application, location detection and updates will be paused. We recommend placing the widget in a toolbar or other prominent location so that it is consistently visible when needed. Opening a drawer on top of a page containing the Current Location Manager will not prevent it from updating; only navigating to a different page will cause updates to be paused.
Below are the core configuration options for the Current Location Manager:
lat,long
format.