Citizen Virtual assistant overview
Google Maps
The Watson Assistant web chat widget has a feature to display an embedded iframe as a hyperlink, which then expands once clicked upon to display any given map. The default map chosen for the asset is Google Maps.
In order to use the same dialog node as is, you must obtain your own Google API Key and update the node “Map Office By Zip Code”.
- Obtain a Google Maps API Key as specified in this link: API Key
- From Watson Assistant, find the dialog node
Map Office by Zip Code
- Update the context variable
mapApiKey
with the API key you obtained from the first step. - Optionally, update the
mapQuery
context variable as required. The default map query isDepartment+Social+Services
.