The fm:GeoInfo component returns location information when provided a latitude and longitude.
<fm:GeoInfo lat="43.653226" lng="-79.383184" >
{$geodata.neighbourhood}<br>
{$geodata.city}<br>
{$geodata.state}<br>
{$geodata.country}<br>
</fm:GeoInfo/>
Downtown
Toronto
Ontario
Canada
Name | Required | Default | Description |
---|---|---|---|
lat | Required | N/A | Latitude value |
lng | Required | N/A | Longitude value. |
Latitude(lat) and Longitude(lng) are required parameters.