Before calling this method, you must initialize the map object by using the VEMap Constructor.
If you want to use a callback function with the map control, set the VEMap.onLoadMap Property before calling the LoadMap method.
To 'lock' the map in a certain position, either set the fixed parameter to true when loading the map or disable mouse events during the application session. The following code disables mouse events.
// Attach an event handler for a mousedown event.
map.AttachEvent("onmousedown", DisableMap);
// When the mouse is used, the DisableMap function will
// get called. Returning true will disable the mousedown
// event, which disables panning.
function DisableMap()
{
return true;
}