function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abhinav AdminAbhinav Admin 

Need to add Geolocation to my Account object

I would like to add Geolocation to my account Object based on Billing address and shipping address i would like to fetch the Latitude and Longitude. So can any one help me with the code to achieve this.


Thanks & Regards
Abhinav
 
Mudasir WaniMudasir Wani
Hi Abhinav,

here are some good links which can help you.

http://www.salesforce.com/us/developer/docs/salesforce1/Content/vf_pages_create_page_task.htm

HTML 5 Geolocation in Visualforce
https://developer.salesforce.com/blogs/developer-relations/2010/07/html-5-geolocation-in-visualforce.html


Below link has some tagged questions for the same
http://salesforce.stackexchange.com/questions/tagged/geolocation


Don't forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help.
Abhinav AdminAbhinav Admin
I would like to Add Geolocation in Account object only. So please kindly tell me how to do it in Account Object
Mudasir WaniMudasir Wani
For Account please have a look on this blog 
How to automatically add geolocation on account and show Dynamic Google map with nearby accounts?
http://www.vandeveldejan.com/trigger-geolocation-account-google-map-nearby-accounts/


Don't forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help.