simplysandeep Posted November 7, 2011 Share Posted November 7, 2011 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. Quote Link to comment Share on other sites More sharing options...
requinix Posted November 8, 2011 Share Posted November 8, 2011 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.