I want to use a webtilelayer as my basemap, and this webtilelayer has a spatial reference wkid 25833 (euref89).
When I try to do this, the map never get loaded. I get the following error in the console:
"The spatial reference of this layer does not meet the requirements of the view"
I've tried setting the spatial reference of the mapview, and the WebTileLayer, but this does not help.
I've created a codepen to illustrate my problem:
Does anyone know what I'm doing wrong?