Initialize a Map
This is a very simple example on how to start using National Address Maps Api in your Applicaiton.
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 id="map" style="position:absolute;overflow:hidden;width:500px;height:600px; margin:0px; padding:0px; background-color:white;"></div>