Select to view content in your preferred language

Why is MapView broken in JS 4.1 API?

1169
1
10-07-2016 05:40 PM
SteveHenningsgard
Emerging Contributor

In JS 4.1 API, loading a basic MapView in a non-hosted project (url file:///some/local/folder/index.html) results in the following error(s):

"services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/1/0/1:1 GET file://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/1/0/1 net::ERR_FILE_NOT_FOUND"

This problem does not present itself in the 4.0 API.

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Steve,

   It looks like they are using the protocol that the page is running under. This seems like a bug. You need to report this to esri tech support.

0 Kudos