Google Maps Component

Overview

Google Maps Component Plugin provides support for displaying interactive maps, directions, and markers in a SAIL interface.

Pre-requisites: 

Key Features & Functionality
  • 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.
Anonymous
Parents
  • is there an issue with this plugin on Cloud hosted Appian Instance?
    it seems there is a new Content Policy restriction placed in the cloud web server to block external content, this error is visible in the Network / console view of the browser:

    Refused to connect to 'maps.googleapis.com/.../gen_204 because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

    Refused to load the script 'maps.googleapis.com/.../map.js' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'default-src' is used as a fallback

Comment
  • is there an issue with this plugin on Cloud hosted Appian Instance?
    it seems there is a new Content Policy restriction placed in the cloud web server to block external content, this error is visible in the Network / console view of the browser:

    Refused to connect to 'maps.googleapis.com/.../gen_204 because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

    Refused to load the script 'maps.googleapis.com/.../map.js' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'default-src' is used as a fallback

Children
No Data