call JavaScript function within Google Maps Listener
Posted
by Queueball
on Stack Overflow
See other posts from Stack Overflow
or by Queueball
Published on 2010-06-14T14:48:29Z
Indexed on
2010/06/14
15:12 UTC
Read the original article
Hit count: 206
JavaScript
|google-maps
Ok, simple question but is it possible to call an external javascript function within a google maps listener?
GEvent.addListener(map,"click", function(overlay, latlng) {
testfunction(latlng);
});
testfunction doesn't run, so is there a particular way i need to go about this? I'm new to google maps and javascript.
© Stack Overflow or respective owner