Table of Contents

Geo-Location

Block Group: Browser API
Icon:Geo-Location block icon

Retrieves the user’s latitude and longitude.

For information on using dataflow blocks, see Dataflow.


Input/Output Properties

These properties can take input and give output.

enabled specifies whether the block is currently collecting location data.


Output Properties

These properties can give output. They cannot take input.

latitude returns the latitude of the user.

longitude returns the longitude of the user.


Model

This is a basic use of the block.

Dataflow Model Description
Geo-Location dataflow modelThe 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.