Q: Loading Azure maps - It flashes the whole world first then it sets camera to its position In depth issue -
When a user loads Map Page it initially loads a map of the whole world before quickly loading just the map portion required.
Goal - What i want is to direct moves to my desired location instead of flashing the whole world first.
Cause - As per my knowledge, this is caused due to following code -
this.maper.events.add('ready', () => { })

But the above code is required too as all the other necessary actions are to be done inside this function only once map gets ready.
Please guide me how to achieve this ?

A: Set the map camera options when loading the map rather than after the map is loaded. For example:
map = new atlas.Map('myMap', {
    center: [-110, 50],
    zoom: 2,
    view: 'Auto',
    
    authOptions: {
        authType: 'subscriptionKey',
        subscriptionKey: '<Your Azure Maps Key>'
    }
});

