Hi!
I'm going crazy to this simple stuff.

I would create a marker with a mouse click on the map and i did it.
After this, i would the marker open the info window (that will
contains a link to a php page).

I have this code, but it doesn't work as i want:

GEvent.addListener(map, "click", function(marker, point) {
        if (marker) {
          map.removeOverlay(marker);
        } else {
                    var marker = new GMarker(point);
            map.addOverlay(new GMarker(point));
                    marker.openInfoWindowHtml("<p>Questa รจ una prova</p>");
        }
      });

(i can't link anything because i'm working on the online page and it
change a lot of times because my coding)
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to