Bibi di Sebastianelli Fabrizio
Via Case Nuove 21/D, Castelleone di Suasa(AN)

", true)); function showAddresses() { for (i=0; i < addresses.length; i++) { showAddress(addresses[i][0], addresses[i][1], addresses[i][2]); } } function showAddress(address, htmlInfo, moveToPoint) { if (geocoder) { geocoder.getLatLng( address, function(point) { if (!point) { alert("Location not found:" + address); } else { if (moveToPoint) { map.setCenter(point, 16); } var marker = new GMarker(point); map.addOverlay(marker); if (htmlInfo != "") { GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(htmlInfo); }); } } } ); } } function showGeopoints() { for (i=0; i < geopoints.length; i++) { showGeopoint(geopoints[i][0], geopoints[i][1], geopoints[i][2], geopoints[i][3]); } } function showGeopoint(longitude, latitude, htmlInfo, moveToPoint) { if (moveToPoint) { map.setCenter(new GLatLng(longitude, latitude), 16); } var marker = new GMarker(new GLatLng(longitude, latitude)); map.addOverlay(marker); if (htmlInfo != "") { GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(htmlInfo); }); } } function moveToGeopoint(index) { map.panTo(new GLatLng(geopoints[index][0], geopoints[index][1])); } function moveToAddress(index) { moveToAddressEx(addresses[index][0]); } function moveToAddressEx(addressString) { if (geocoder) { geocoder.getLatLng( addressString, function(point) { if (!point) { alert("Location not found:" + addressString); } else { center = point; map.panTo(point); } }); } } function moveToAddressDMarker(addressString) { if (geocoder) { geocoder.getLatLng( addressString, function(point) { if (!point) { alert("Location not found:" + addressString); } else { center = point; setZoomFactor(14); map.panTo(point); addDragableMarker(); } }); } } function setZoomFactor(factor) { map.setZoom(factor); } function addDragableMarker() { if (!marker) { marker = new GMarker(center, {draggable: true}); map.addOverlay(marker); GEvent.addListener(marker, "dragend", function() { var tpoint = marker.getPoint(); document.getElementById(updateX).value = tpoint.lat(); document.getElementById(updateY).value = tpoint.lng(); }); } else { marker.setPoint(center); } var tpoint = marker.getPoint(); document.getElementById(updateX).value = tpoint.lat(); document.getElementById(updateY).value = tpoint.lng(); } function initNXGMap(mapElement) { if (GBrowserIsCompatible()) { map = new GMap2(mapElement); geocoder = new GClientGeocoder(); map.addControl(new GLargeMapControl()); map.addControl(new GMapTypeControl()); map.addControl(new GOverviewMapControl()); map.setCenter(new GLatLng(0,0),1); updateX="coordX"; updateY="coordY"; showAddresses(); showGeopoints(); } } //]]> BIBI di Sebastianelli Fabrizio
BIBI di Sebastianelli Fabrizio
Via Giovanni XXIII 11 - 60010 

Castelleone di Suasa (AN)
Stabilimento ed Uffici:
via Case Nuove, 21/D - 60010 Castelleone di Suasa (AN)
CF: SBSFRZ67P05C152J - PIVA: 01281140424
tel +39 071 966558 - fax +39 071 9669126
info@bibiallestimenti.it