ResolvedHow to use the “Get Directions” function

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21532
    wecancooky
    Participant

    Hi admin.,
    My website is currently unable to use the caculate route function. The map is working normally.
    Please show me how to use this cool function of yours!

    Link: https://wecancook.net/lien-he/

    Thank you!

    #21537
    Althemist
    Keymaster

    Hello wecancooky,

    It looks like your Google Maps API key is not set properlu, and you’re not authorized to use directions service. Here is the error in the console for your website:

    Directions Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key js:55:324
    Object { message: “DIRECTIONS_ROUTE: REQUEST_DENIED: There was an issue performing a Directions request.”, stack: “hP@https://maps.googleapis.com/maps-api-v3/api/js/40/2a/directions.js:1:82\njP@https://maps.googleapis.com/maps-api-v3/api/js/40/2a/directions.js:1:314\nyP/<@https://maps.googleapis.com/maps-api-v3/api/js/40/2a/directions.js:9:118\nuP/<@https://maps.googleapis.com/maps-api-v3/api/js/40/2a/directions.js:5:266\nc@https://maps.googleapis.com/maps-api-v3/api/js/40/2a/common.js:68:84\n@https://maps.googleapis.com/maps/api/js/DirectionsService.Route?5m2&1m1&2s162%2F3-5%20H%E1%BB%93%20B%C3%A1%20Ki%E1%BB%87n&5m4&1m3&1m2&1d10.782504&2d106.663633&6e0&12sen-US&23e1&callback=_xdc_._2vp6h0&key=AIzaSyBBBXjRKN1yI6lp7UZTO7hoX-YYASKCMEc&token=130240:1:28\n", name: "MapsRequestError", endpoint: "DIRECTIONS_ROUTE", code: "REQUEST_DENIED” }

    You’d need to properly generate a Maps API key.

    Regards,
    Dimitar

    #21555
    wecancooky
    Participant

    Thank you, I have successfully installed.
    However, I would like to suggest that your support service is too sketchy. Instead you should instruct me to open Google maps services such as “Places API”, “Maps Embed API”, and “Maps Static API” and then copy and past the error displayed. If I am a normal user, what should I do with your answer? I have to search google on forums and do it myself.
    You should think about how to support your customers to grow your company!

    Best regards

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register
IMPORTANT!!!

Hello everybody! Please, accept our sincere appologies for the delaeyd support last 2 weeks. One of our team members was diagnosed with Covid-19 and we were isolated without the chance to leave home or access our office. We are now back to work and slowly catching up with delayed support tickets. We expect the queue to be cleared and everything to be back to normal schedule by Monday, 29th of June.

Thank you so much for your patience and understanding.

Best regards,
Althemist team
close-link