Basic Map / Location Template
Tags | Example |
---|---|
Description | Basic location element → map functionality |
Features | LocationMap |
Type | Customer |
Basic Map Template will collect user location and plot it on the map (api key = "map") with icon "red" (api key = red)
Set up:
- Install Google Map Integration
- Agent Tools → Maps → Create map (api key "map")
- Unzip basic icons below
- Agent Tools → Maps → Map → Create icon (api key "red")
Note: Can we add more steps here @Phil Gordon to finish the map functionality or link other pages here so that QA can create test cases to cover all.
// location event handler -- basic
customer.setLocationJson(newValue);
chatbox.addCustomerToMap("map", "red");