Location

Location provides access to the Google Maps API. This allows an interactive map with markers to be placed within the Amazon Connect workspace.

Example

Picture of the author

View configuration

Set the below recommended settings

  • App Name = dynamic
  • Path = dynamic
  • Height = 480px (Suggested. Set this to the same as the parameters below)

GET/v1/location

Display an interactive map

This endpoint allows you to provide a scrolling message within the workspace.

Required attributes

  • Name
    apiKey
    Type
    string
    Description

    Provide your Google Maps API Key.. We suggest this is for testing only and you restrict your API key from your Amazon Connect instance only.

Optional attributes

  • Name
    homeLat
    Type
    string
    Description

    Latitude of your home location

  • Name
    homeLng
    Type
    string
    Description

    Longitude of your home location

  • Name
    homeIcon
    Type
    string
    Description

    URL of the marker to be used as the home location.

  • Name
    currentLat
    Type
    string
    Description

    Latitude of your current location

  • Name
    currentLng
    Type
    string
    Description

    Longitude of your current location

  • Name
    currentIcon
    Type
    string
    Description

    URL of the marker to be used as the current location.

  • Name
    mapZoom
    Type
    integer
    Description

    Google map zoom level. Recommended 16 for street level

Request

GET
/v1/location
{
  "AppIdentifier":"Toolkit",
  "Path":"v1/location?homeLat=51.5072&homeLng=-0.1276&currentLat=48.8566&currentLng=-2.3522&mapHeight=480px&=mapZoom=16&apiKey=A...Z&mapZoom=16"
}

Was this page helpful?