Select to view content in your preferred language

ArcGis corrupts URLs

1091
11
07-29-2022 03:25 AM
Karrok
by
New Contributor II
0 Kudos
11 Replies
Karrok
by
New Contributor II

I used a different solution - https://codepen.io/karrok/pen/OJvzeEx

I used 

esriConfig.request.interceptors

and fetched tiles on my own

0 Kudos
JohnGrayson
Esri Regular Contributor

I would recommend against the use of the interceptor for this use case.  Just make sure you specify the parameters correctly and you can just extend the BaseTileLayer, which will help a lot as you try to use other parameters and options from these services.  Using the interceptor to ignore improperly formatted URL parameters might lead to other issues as you try other settings. 

0 Kudos