The Gravity Forms Geolocation Add-On is a powerful extension for Gravity Forms that allows you to integrate geolocation features into your forms. Here are the key features and geolocation form fields provided by this add-on:
Geolocation Form Fields:
- Six geolocation buttons can be added to the form editor, and they can be easily placed anywhere on the form.
- You can add an unlimited number of geolocation fields to any of your forms.
- These fields can be synchronized to provide the best user experience and easy geotagging.
Address Field:
- Allows visitors to enter an address that will be geocoded, returning complete geolocation data.
- Enables Google Places address autocomplete, providing live suggested results as visitors type an address.
- Displays an auto-locator button within the address field for visitors to automatically retrieve their current position.
- Synchronizes with the Google Map field to position the marker on the map based on the entered address.
Coordinates Field:
- Presents latitude and longitude input fields for visitors to enter their exact position.
- Geocodes the coordinates entered to return complete geolocation data.
- Syncs with the Google Map field to position the marker on the map based on the entered coordinates.
- Syncs with the address field to dynamically fill in the returned address.
Auto-Locator Button:
- Displays auto-locator buttons anywhere in the form to allow visitors to easily get their current position.
- When clicked, the plugin dynamically attempts to retrieve the visitor’s current position and geocodes it, returning complete geolocation data.
- Syncs with the Google Map field to position the marker on the map based on the current location.
- Syncs with the address and coordinates fields to populate them with the returned geolocation data.
Google Map Field:
- Offers visitors Google Maps where they can drag and drop a marker to their desired location.
- Allows you to set map type, width, height, default coordinates, custom marker URL, and more.
- Syncs with the address and coordinates fields to populate them with geolocation data.
- Dynamically sets the map’s position when entering an address or coordinates manually or when using the auto-locator.
- You can add unlimited maps to any of your forms.
Geocoder Field:
- Performs geocoding behind the scenes and enables synchronization between different geolocation fields.
- Returns complete geolocation data, which can be viewed in form entries, sent via emails, and more.
Routes & Directions:
- Calculates and displays directions between two locations directly in your Gravity Forms.
- Eliminates the need for external links to Google Maps.
- Shows the route between the two locations on the Google Map field.
Distance & Duration Calculation:
- Calculates the distance and duration between two locations and populates the values in your forms.
- Useful for calculating costs based on driving distance.
Dynamic Location Field:
- Dynamically populates text fields, hidden fields, checkboxes, select dropdowns, and more with geolocation field values during geocoding.
- Can be synchronized with any of the geolocation fields.
- Ideal for saving geocoded information into custom fields when creating a post or into user meta when registering a user.
GEO My WP Compatibility:
- Syncs posts and users’ locations with the GEO My WP plugin, making them searchable via GEO My WP’s search forms.
- Enables advanced proximity search forms, mashup maps, and more with GEO My WP.
The Gravity Forms Geolocation Add-On provides comprehensive geolocation capabilities for your Gravity Forms, allowing you to create location-aware forms and applications.