${device.latitude}
and ${device.longitude}
. You can use them to target an API that processes this information and add location-related features in your apps.[require:location]
tag on the page level layer where the app will use location data. This tag will trigger a pop-up for the app user to allow location access. Allowing it is necessary to populate the ${device.latitude}
and ${device.longitude}
with user location data.${device.latitude}
and ${device.longitude}
variables in the web view URL. In this case, we're setting them statically in Figma, as the Google Maps URL will always be the same (only the values of the variables will change). GET
request, so we can bind this data to our screen and show the user coordinates.[require:location]
, remember to accept location access.