Hi

I would like to replace these prety ugly InfoWindow by jquery UI.
www.agrio.com

Have you ever seen a tutorial which explain how to tied a dialog to a
Marker.

I've tried this:
function addMarker(id,latitude, longitude) {
      var marker
       marker = new GMarker(new GLatLng(latitude, longitude));
       GEvent.addListener(marker, 'click',
           function() {
               $('#foo').dialog({title:"titre"})

           }
       );
       markers.push(marker);
   }

The dialog only appears for the first marker click.

Thank you for your help.

--

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