- In Schedule, choose the Menu icon and then choose General Settings.
- In Company Options under Schedule Configuration, in the Mapping Options section, choose one of the following:
- If you do not want to use the mapping feature, mark No Mapping.
To use mapping, mark either Google or Bing and then enter your Key.
Google Maps: https://cloud.google.com/maps-platform/pricing/ (You will need an API key that includes Maps and Routes. You do not need Places.)
Bing Maps: https://www.microsoft.com/en-us/maps/licensing/options
- Complete the following setup options:
- Use Status to Trigger Resource Location Change: If marked, when an appointment status is changed to the specified Status, the location of the technician will update on the map.
- Break Duration (min): Enter the number of minutes for a technician's break that will be used if you are route planning.
- Round-up Start Time: Choose the number of minutes to round up to the start time.
- Icons: You can accept the default icons that display on the map or you can choose different icons at http://fontawesome.io/icons/
- Choose Save.
When the Google or Bing APIs are called
- Process Locations option in settings - 1 request per address for only those locations that do not yet have latitude/longitude. This is the Get Latitude/Longitude option in the Process Requests tab in Administration Setup. See Processing requests for more information.
- Once a location has lat/long values, Schedule never calls the API again for that location.
- To add, MobileTech also updates lat/long on locations, so a customer who has been using MobileTech may see that some locations already have lat/long values.
- When new customer locations are created in Schedule, the solution makes a request to get Latitude/Longitude for that address. See Creating a new customer or Creating a new location.
- Process Employees - First time it’s run– uses 1 request per Technician because it’s passing in their starting address to get a returned lat/long. After that - no call to Google or Bing API when they are reset to their starting point. We simply copy the defined lat/long into the associated vehicle record. The only time it would run again is to get new lat/long for new technicians. This is the Process Resource Home Locations in the Process Requests tab in Administration Setup. See Processing requests for more information.
- Showing the Map -Each display of the map is a single request. It passes in an array of lat/long values and the API plots those locations on a map. Each time a map is displayed or refreshed is an API request.