Block Group: | Browser API |
Icon: |
Retrieves the user’s latitude and longitude.
For information on using dataflow blocks, see Dataflow.
These properties can take input and give output.
enabled specifies whether the block is currently collecting location data.
These properties can give output. They cannot take input.
latitude returns the latitude of the user.
longitude returns the longitude of the user.
This is a basic use of the block.
Dataflow Model | Description |
---|---|
The Geo-Location block's properties are bound to the Google Map component's properties, so the map will open with the user's location at its center. |