<html>
<head>
<script type="text/javascript" src="http://www.vietbando.com/maps/API/VBDMapAPI.js?key=e7vjH+pgQHuSyV75dwG6hq0WQek+cVqm"></script>
<script type="text/javascript">
var map = null;
function loadMap()
{
    if (VBrowserIsCompatible())
    {
        map = new VMap(document.getElementById('container'));
        map.setCenter(new VLatLng(10.8152328, 106.680505), 4);

        var client = new VClientGeocoder();
        client.getLatLng('31A Huỳnh Văn Bánh, Phú Nhuận', 'getlatlng');
    }
}

function getlatlng(pt)
{
    if (map != null)
    {
        if (pt.latitude == 0 && pt.longitude == 0)
            alert("Không tìm thấy.");
        else
        {
            var marker = new VMarker(pt, new VIcon());
            map.addOverlay(marker);
            map.setCenter(pt, 12);
            map.openInfoWindow(pt, '31A Huỳnh Văn Bánh, Phú Nhuận');
        }
    }
}
</script>
</head>
<body onload="loadMap()">
<div id="container" style="height:500px; position:relative; margin:10px; border:1px #b1c4d5 solid;"></div>
</body>
</html>