ArcGIS URL Services for Basemap/Tiled Layers

477
2
03-17-2023 09:25 AM
edgar_eacg
New Contributor

Ok. I've decided to migrate to v200.0.0 (from v10.2.4)

To check the new features of the API version I executed the sample viewer (an ArcGIS Maps SDK for java demo app), and it woks fine when I'm at home. But at work it shows nothing, any map. It's blank. I run the application from command line to see the error messages but also the console is blank, no error messages. I tried with my mobile data (from my cell phone) and it works ok. So, I suspect that it is a proxy issue in my institutional network.

I'll request to my IT department to unblock or handle the appropriate permissions to access the ArcGIS services. But I need to provide specific URL's. I've looked for them in the web and the only I found is in this page https://developers.arcgis.com/documentation/mapping-apis-and-services/maps/services/basemap-layer-se... but I'm not sure whether this is the correct and only URL I must provide.

Please, could you give me guidelines about this information?

0 Kudos
2 Replies
MarkBaird
Esri Regular Contributor

@edgar_eacg some initial thoughts on your issues:

 

 - Does your application need to authenticate on your internal proxy to gain access to outside resources or do you need to specify the URL of each data service you access?

 - If you do need the URLs for unlocking your proxy, then at what detail do you need this information?  

 - I can give you some URL information, but if you wire up your application to Fiddler you'll soon get a picture of the data your application is requesting.

 

0 Kudos
edgar_eacg
New Contributor

Thanks for your response.

In fact, it is not my applicaciont. It's an ArcGIS demo app called "Sample Viewer" which I downloaded here and, as you can see in the picture below, there's no really much information about the issue:

app.png

The maps simply doesn't show and the console doesn't throw any error message.

In regard to your questions above:

  • I just need to provide the URLs, I suppose the service layer servers, no authentication parameters are required.
  • I think the most general URL enclosing all the specific basemap types. In the webpage above two addresses are mentioned:

https://basemaps-api.arcgis.com/arcgis/rest/services/styles/ArcGIS:Navigation?type=style&token=<ACCESS_TOKEN>

https://ibasemaps-api.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}?token...<ACCESS_TOKEN>

I just need you to confirm whether the upper level would be enough, that is:

https://basemaps-api.arcgis.com/

https://ibasemaps-api.arcgis.com/

If thery're not correct, please, could you provide me with the appropriate information?

  • I didn't catch what Fiddler is, what I'll try is to mount a project in my programming IDE and see what error in debugging I can catch

 

0 Kudos