Google AJAX Local Search API

Un esperimento del lunedì mattina


Loading…

@import url(“http://www.google.com/uds/css/gsearch.css”);

window._uds_msw_donotrepair = true;

@import url(“http://www.google.com/uds/solutions/mapsearch/gsmapsearch.css”);

.gsmsc-mapDiv {
height : 275px;
}

.gsmsc-idleMapDiv {
height : 275px;
}

#mapsearch {
width : 365px;
margin: 10px;
padding: 4px;
}

function LoadMapSearchControl() {

var options = {
zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
title : “Aitan HQ”,
url : “http://blog.gaetanoanzisi.com”,
idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM,
activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM
}

new GSmapSearchControl(
document.getElementById(“mapsearch”),
“3274 Mountain View, CA”,
options
);

}
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadMapSearchControl);

0 Reviews

Write a Review