SyntaxFix
Write A Post
Hire A Developer
Questions
I found the solution:
function onClick(e) {alert(this.getLatLng());}
used the method getLatLng() of the marker