I am having some trouble when passing some fields to make a link:

https://www.google.com/maps/dir/{ADRESS} {City} {State}

it calls the google page fine but the fields values are not coming across, this is being called from a button.

Do you have any ideas on what is going on?

Thanks,

Tim

Hi Tim,

First of all, I have not used the map functions so my reply may not be up to standard of someone working with API’s of Google Maps. However, it appears to me from a cursory glance at their API’s that you cannot just call with a physical address. It will only work if you know the coordinates. If you have a physical address it seems that it needs to be converted first. See this coding example:

https://www.codeofaninja.com/2014/06/google-maps-geocoding-example-php.html

Regards,

Frank