display map from Arcgis Rest API

332
0
05-17-2021 04:11 AM
darrenng123123
New Contributor

Hi all, 

I am working in a secure environment that only has connection to the map server that i want to use. I have no access to the internet. I want to display a mapserver ideally using ipyleaflet or arcgis's python api.

In this case, whenever i use the above suggested method to connect to the standalone arcgis server, i get a connection error as it seems that the arcgis python api is attempting to authenticate to www.arcgis.com as an anonymous user. 

Is there any way to use the MapImageLayer with the rest API without first authenticating / connecting to any arcgis enterprise or arcgis portals?

0 Kudos
0 Replies