Change Map Type
Javascript Source
function myInitializeAPI() { var mapDiv = 'map'; //id of the div where the map should appear var mapType = 'default'; var mapLanguage = 'A'; var proxyUrl = ''; var apiClientKey = 'your-api-key'; SANGC_LoadMapViewer(mapDiv, mapType, mapLanguage, proxyUrl, apiClientKey); };
HTML Source
<div style="top:0px; margin-left:30px;"> <input id="googlemap" type="button" value="Google Map" onclick="SANGC_setMap(2);"> <input id="bingmap" type="button" value="Bing Map" onclick="SANGC_setMap(3);"> <input id="nationaladdressmaps" type="button" value="National Address Map" onclick="SANGC_setMap(1);"> </div> <div id="map" style="position:absolute;overflow:hidden;width:500px;height:600px; margin-top:10px; margin:0px; padding:0px; background-color:white;"></div>