The MapLarge built-in search box will do a search on any location and auto pan and zoom the map to that location. Valid locations are:
Street Address, City, State, Zip, Country
Lat, Long “34,-84”.
Example
var map = ml.map("mapDiv",
{
lat: 33.70606265,
lng:-84.4171367, z:10,
api: 'LEAFLET',
searchBox: true });
});
Complete Example
<html>
<head>
<script type="text/javascript" src="/JS"></script>
<script type="text/javascript">
ml.onload(function() {
var map = ml.map("mapDiv",
{
lat: 33.70606265,
lng:-84.4171367, z:10,
api: 'LEAFLET',
searchBox: true });
});
</script>
</head>
<body>
<div id="mapDiv" style="width:100%;height:100%;"></div>
</body>
</html>
