AnsweredAssumed Answered

Issues when loading Custom Base Map

Question asked by sachithsilva on Feb 1, 2019
Latest reply on Feb 3, 2019 by jhezronphilip

Hi,

I got  below  two console error in my browser   respectively when loading custom base maps.

error 1:

[esri.views.2d.layers.TileLayerView2D] #resolve() Failed to resolve layer view (layer title: 'layer title', id: 'layer id')

name: "layerview:spatial-reference-incompatible", message: "The spatial reference of this layer does not meet the requirements of the view".

error 2:

[esri.views.LayerViewFactory] Failed to create view for layer 'Layerame , id 'layer id' of type tile

name: "layerview:spatial-reference-incompatible", message: "The spatial reference of this layer does not meet the requirements of the view".

 

tricky part is all the custom base map  loading fine when reload the page by 'Empty cache and hard reload 'it works fine  and custom base map load smoothly without above errors.

 Does anybody   why this happen ?  

 

Thank you in advance .

 

Additionally   : I am using  Arcgis JavaScript  api 4.10  and use TileLayer to load custom basemap.

 

 

 

Outcomes