# Load map (synchronously)

Map will show up here under JavaScript/Typescript mode

## JavaScript

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

## TypeScript

```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.
