Description:
This example demonstrates an initialized map. Here is the code sample:
Initializing the map
var agmap = null; //declare a global map object
function initAGMap()
{
agmap = new AGMap(document.getElementById("MapPanel"));
agmap.centreAndScale(new AGCoord(-25.7482681540537, 28.225935184269), 12);
}