I'm using the jQuery GMAP 3 wrapper for the first time on a project. All going quite well - but can't find an example of how to add an infobubble to a marker, but have it only appear when the marker is clicked...
The addMarker function I'm using is:
function addMarker($this, i, lat, lng){
$this.gmap3({
action : 'addMarker',
lat: lat,
lng: lng,
marker:{
options:{
icon:new google.maps.MarkerImage(\"../../a/img/find-a-ground/markers/marker.png\", new google.maps.Size(40, 40))
}
}
});
Can anyone give an example of how to add an infoWindow which only displays when the marker is clicked?
Thanks, Steve