+ Start a Discussion
Rohit TripathiRohit Tripathi 

Displaying Phone Field on Maps

Hello,

I am working on an application which displays markers on Goole maps. Info window of markers display person details such as name, address and phone number. When we click on name, detail page of person opens up which is working perfect. I want to have functionality that when we click on phone number, it should ask permission to dial that number just like it happens when you click phone number in salesforce 1.
 
kaustav goswamikaustav goswami
Are you using the tel attribute?

IT should be something like this - <a href="tel:+6494461709">61709</a> - the tel attribute or the mailto attribute instructs the browser on what to do and how to behave.

Thanks,
Kaustav
Rohit TripathiRohit Tripathi
@kaustav : it works if phone nbr is less than 10 characters. If phone number is standard 10 characters then it does not works and throws error that page not found.