If a customer is having issues with a particular location not reporting the correct mileage, it is most likely either an address that google maps api does not recognize or a problem with the google maps api. |
|
To troubleshoot, note the address of the location from the Location table. Determine what the correct mileage should be to a known location using google maps from a browser. Note – the locations in google maps may not necessarily be how they show up in the google API. To check this, create a new field trip from the KNOWN location. You want the destination to be the location you are having problems with. Rather than selecting a dropdown, use the option to start to type in the address and see what the Google maps API shows. In the example shown, Google from a browser shows this address – however, you can see that when we type it in the google maps api does not show correctly. Next – try to type in the name of the school and see what address shows in the google maps API. |
Note: below when we type in the name of the school, the address is correct. However, above, when we type in that same address it is not recognized. This is a problem with the Google Maps API
We resolved this issue by putting the name of the school in the location address:
|
To report google map API issues – use this website….
https://code.google.com/p/gmaps-api-issues/ |