This discussion is archived
1 Reply Latest reply: Dec 26, 2012 6:13 AM by evrm RSS

Google Map and Apex

928943 Newbie
Currently Being Moderated
Hello Dear Friends,

I am facing a problem to manage Google map with apex, if somebody can help me for this solution.
I am showing some marker on Google map through database and I need to get latitude and longitude where user click on apex display item to show some information about the click latitude and longitude.


Saleem Qureshi
  • 1. Re: Google Map and Apex
    evrm Pro
    Currently Being Moderated

    you can use the event object property latLng
    google.maps.event.addListener(<YOUR_MAP_ELEMENT>, 'click', function(event){
           alert('Latitude: ' + + ' Longitude: ' + event.latLng.lng());


  • Correct Answers - 10 points
  • Helpful Answers - 5 points