NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: kboller on December 05, 2023, 07:23:36 AM

Title: How do you do an address lookup on a mobile device's native map app from NT?
Post by: kboller on December 05, 2023, 07:23:36 AM
I'm trying to create a lookup button on a Nettalk WebForm that will call a native mobile map app with a physical address.  Is that possible?

Thanks,

Kurt
Title: Re: How do you do an address lookup on a mobile device's native map app from NT?
Post by: Bruce on December 06, 2023, 03:46:03 AM
unless your browser has some way to communicate with the local (not browser?) app, no.
Title: Re: How do you do an address lookup on a mobile device's native map app from NT?
Post by: kboller on December 06, 2023, 05:24:45 AM
I thought since you can select an address in a browser (from a web page), do a lookup and in Google select the map option that it would be possible.  Maybe in some Rube Goldberg sort of way?   

;)

Thanks,

Kurt

Title: Re: How do you do an address lookup on a mobile device's native map app from NT?
Post by: Alberto on December 06, 2023, 09:59:42 AM
I dont fully understad what you need but if you need to open a google map you can add this in a button , onclick tab:
'https://www.google.com/maps/dir/?api=1&origin=' & p_web.GSV('_Latitude_') & ',' & p_web.GSV('_Longitude_') & '&destination='&ppar:latitud & ',' & ppar:longitud
Title: Re: How do you do an address lookup on a mobile device's native map app from NT?
Post by: kboller on December 07, 2023, 05:57:13 AM
Thank you Alberto, I think that will do the job.