Dear All,
I met a problem when I am trying to call a function by using an event
listener.
I wanna users to make marker by double-click on the map.
The corresponding codes in the mainpage is like that:
google.maps.event.addListener(map,"dblclick",function(event){
createMarker(this,event.latLng.lat(),event.latLng.lng(),
{draggable:true});
});
where createMarker() is defined in an external .js file which works
well for sure.
But, I find it fails to call that function.
My question is :
How can I call a function, which is defined in a .js file, inside a
google listener function ??
Please give me a helping hand if you know the solution.
Thanks a lot.
MC
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.