call JavaScript function within Google Maps Listener
- by Queueball
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.