I would like to add firstly WmsLayer and than FeatureLayer.
Wms layer suports more than one spatial reference (4326, 3857, 2180).
When I do it in order: wms, feature mapView is set to work in 4326,
but whan i firsty add featureLayer in 3857 and than wms layer mapView is set to 3857.
I need to have 3857 at mapview. Setting spatial reference to mapview.map do not change anything.
Do you know is there any way to force wms layer to open in selected spatial reference ?