
Google Maps
by Appian Corporation
Description
Google Maps Component Plugin provides support for displaying interactive maps, directions, and markers in a SAIL interface.
Pre-requisites: Appian 19.1 Google Maps API key: https://cloud.google.com/maps-platform/?apis=maps,routes,places Appian highly recommends Domain Restricting this API key to your site's domain as UI keys are always available to the end user's browser.
Features
fn!googleMapsDisplayField Displays a map centered on a specific latitude and longitude, with an optional pre-set list of custom markers. When a user clicks on a marker, the metadata is returned via a SaveInto. Optionally allows the user to pan, use street view, and zoom. fn!googleMapsDirectionsField Displays map directions between 2 or more points. It can automatically sort the waypoints to calculate the optimal route between the origin and destination. When the directions are computed, step-by-step directions, trip distance, and time are returned via a SaveInto. Optionally displays current traffic conditions as an overlay, and exposes route options such as avoiding highways, ferries, or tolls. Also able to display custom markers. fn!googleMapsPinField Displays a map where a user can drop and reposition a marker. When no marker is selected a default map center position can be set and used.
Release notes
Resolved an issue where route waypoints were failing to load correctly when sent from the system. This update ensures that all location markers are now processed and displayed accurately, improving the reliability of your mapping and navigation features.
Version history (11)
1.10.0
1.10.0 Updated the App Market Listing to reflect the version of the plugin
Added waypoints to the response Addressed an issue where waypoint inputs would not take stopover as a value.
1.0.10
Added waypoints to the response Addressed an issue where waypoint inputs would not take stopover as a value.
1.0.9
Addressed an issue when initially loading the map using a polyline.
1.0.8
Added additional outputs for origin and destination latitudes and longitudes.
1.0.8
Added additional outputs for origin and destination latitudes and longitudes.
1.0.7
Added the ability to drag routes and use polylines as an input for directions.
1.0.5
This update adds a "readOnly" parameter to the googleMapsPinField component. If set to true, the user cannot drop a pin on the map and cannot reposition an existing dropped pin.
1.0.4
This update adds a "fitBounds" parameter to the display component. If set as true the display component map will auto-zoom/auto-center to include all markers. Previously, the correct zoom and center level had to be set and markers could fall outside of the viewport.
1.0.3
This update fixes the map auto-zoom/auto-center (if using markers on a directions component), by adding the markers to the map bounds. Previously, markers could fall outside of the viewport.
1.0.1
- Adds the ability to add custom markers on a directions field.
- Includes a new component, fn!googleMapsPinField, which allows users to drop and reposition a marker on a Google Map.
Please include older plugin collateral as not much has changed and it still applies.
1.0.0
[MIGRATED] Google Maps Component Plugin provides support for displaying interactive maps, directions, and markers in a SAIL interface. fn!googleMapsDisplayField -- Displays a Google Map centered on a specific lattitude and longitude, with optional pre-set list of custom markers. When a user clicks on a marker, the metadata is returned via a SaveInto. Optionally allows the user to pan, use street view, and zoom. fn!googleMapsDirectionsField -- Displays map directions between 2 or more points. Can automatically sort the waypoints to calculate the optimal route between the origin and destination. When the directions are computed, step-by-step directions, trip distance, and time are returned via a SaveInto. Optionally displays current traffic conditions as an overlay, and exposes route options such as avoiding highways, ferries, or tolls.