Jump to content

How can I make my website to use native GPS or Google Maps for directions on a m


simplysandeep

Recommended Posts

Hi

 

I have a website that is optimized for mobile.

 

Now I would like to have a function/feature that can use the phone's GPS or google maps and give directions to my business place from the users current location.

 

Other thing is: when users go to contact page, they will see some phone numbers. When user touches a phone number I want the phone dialer to open with the number, & ready to be dialed.

 

Can some one give me suggestions or references...

 

TYI.

Now I would like to have a function/feature that can use the phone's GPS or google maps and give directions to my business place from the users current location.

Use the geolocation API. Works in most browsers.

That can give you a latitude/longitude pair you can do whatever you want with.

 

Other thing is: when users go to contact page, they will see some phone numbers. When user touches a phone number I want the phone dialer to open with the number, & ready to be dialed.

Most smartphones already do that, but you can use the proposed tel: URI scheme.

123-456-7890

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.