JS Error - "Direction API. This API project is not authorized to use this API"

This error occurs when a certain Google Maps API is not enabled for the Google Maps API key used by TripBuilder. Please check your configuration in the Google Dev console.

Our article on how to create a google maps API key also mentions which APIs need to be enabled, see here.  


IBE - Cannot switch language or currency

The language and currency are stored in a cookie. Due to the third-party cookie policy of browsers, this storing doesn't work when your main website and the subdomain of the IBE do not use the same top-level domain. Please order a white-labelled domain for your IBE with Nezasa support.

More info about the white labelling can be found here.


Google Maps - Why the route does not go along the street?

There are two reasons why the route my not go along the street, both are because the Google API doesn't provide the driving paths. Our implementation has a fallback for these cases and renders a straight line.

Reason 1 - No Driving Path
Google API doesn't provide it. This can happen, for example, when the GPS coordinate of one of the points is in the middle of nowhere and Google Maps cannot find a driving path.

Reason 2 - Too Many Route Points
The Google Maps API has a limit of route points, and if the number of points is higher, the Maps API will not provide anymore detailed driving paths. When the Maps API doesn't return the route details, TripBuilder automatically falls back to rendering straight lines between the points.

The current limit of the Maps API of way points is 10.





Please sign in to leave a comment.