Hello,
On some of our maps (typically the ones with a local projection), it fails to load at all and we are getting an error in the console related to the "viewPoint" js file.

I located the issue to be the zoom property when instanciating the MapView.

The workaround I found, is to remove that property and zoom right after.

It was working fine in 4.21.
Thanks.