quando clicco sopra al marker,le informazioni si aprono sempre sul rpimo marker creato,anche se clicco su un altro marker....come si fa a spostare il point..??
Codice PHP:
function showAddress(address,src) {
if (geocoder) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
} else {
map.setCenter(point, 4);
marker = new GMarker(point);
map.addOverlay(marker);
GEvent.addListener(marker, "click", function(){marker.openInfoWindowHtml(src);});
}
}
);
}
}