hi every all
var map;
function buildMap(){
if (GBrowserIsCompatible()) {
var mapDiv = $("mapDiv");
map = new GMap2(mapDiv, {draggableCursor:'crosshair',
draggingCursor:'move'});
map.setCenter(new GLatLng(43.907787,-79.359741),10);
var mapClickEvent = GEvent.bind(this.map, "click", this, showMarker);
//GEvent.addListener(map, "click", showMarker);
at the firts load, the map click event runs ok, but when reload the
page, the event doesn't run.... does anyone have an idea? I'm thinking
in an API Issue. is it ?
the bad situation is following: after 4,5 clicks, sometimes, the event
runs... i'm crazy...
thanks for advance
ps. sorry my poor english
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---