# Load map (async)

Map will show up here under JavaScript/Typescript mode

Printout window

010,000,000

JavaScript

TypeScript

var map;

function loadMapScenario():void{

map = new Microsoft.Maps.Map(

document.getElementById('myMap'),

{
        /* No need to set credentials if already passed in URL */
    }
    );
}

Additional details

This example shows how to load the map asynchronously through the callback parameter in URL (for details see the script tag in the HTML example).
