Load map (synchronously)

Load map (synchronously)

Map will show up here under JavaScript/Typescript mode

JavaScript

var map = new Microsoft.Maps.Map(
    document.getElementById('myMap'),
    {
        /* No need to set credentials if already passed in URL */
    }
);

TypeScript

var 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 synchronously.