How do I add an Esri basemap to a QuickCapture Project (JSON basemap syntax)?

881
3
Jump to solution
11-27-2019 10:15 AM
Labels (1)
Jill_Andrea_Stokes
New Contributor III

Apparently a basemap of type = "WebMAP" may be input through JSON. What is the itemid for Esri Basemap imagery?

0 Kudos
1 Solution

Accepted Solutions
IsmaelChivite
Esri Notable Contributor

Hi. Here is a brief write-up describing how to get the itemID of ArcGIS items: https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2019/06/06/where-can-i-find-the-i... 

The next step is to figure out how to find the Esri Basemap web map items. For example, the itemID for the OpenStreetMap web map is: fae788aa91e54244b161b59725dcbb2a  The imagery with transportation web map is d802f08316e84c6592ef681c50178f17

You can use the search in ArcGIS Online as shown in the animation below.

To find where to use this itemID within your project JSON, check the basemap section in the Configure a project—QuickCapture | Documentation  help topic. 

Below is an example, showing how you can bring the OpenStreetMap basemap with a default zoom level of 18.

{
"basemap": {
"type": "WebMap",
"itemId": "fae788aa91e54244b161b59725dcbb2a",
"required": true,
"shared": false,
"zoomLevel": 18
}

View solution in original post

3 Replies
IsmaelChivite
Esri Notable Contributor

Hi. Here is a brief write-up describing how to get the itemID of ArcGIS items: https://community.esri.com/community/gis/web-gis/arcgisonline/blog/2019/06/06/where-can-i-find-the-i... 

The next step is to figure out how to find the Esri Basemap web map items. For example, the itemID for the OpenStreetMap web map is: fae788aa91e54244b161b59725dcbb2a  The imagery with transportation web map is d802f08316e84c6592ef681c50178f17

You can use the search in ArcGIS Online as shown in the animation below.

To find where to use this itemID within your project JSON, check the basemap section in the Configure a project—QuickCapture | Documentation  help topic. 

Below is an example, showing how you can bring the OpenStreetMap basemap with a default zoom level of 18.

{
"basemap": {
"type": "WebMap",
"itemId": "fae788aa91e54244b161b59725dcbb2a",
"required": true,
"shared": false,
"zoomLevel": 18
}

Jill_Andrea_Stokes
New Contributor III

Thank you for the prompt reply! I realize I should have clarified I was looking for the solution for an Esri "imagery" basemap, as a first choice. That isn't an option because that is not a feature layer. However, I appreciate this option, too!

0 Kudos
JohnathanHasthorpe
Esri Regular Contributor

Hi Jill

You can use the existing imagery with metadata web map:

http://www.arcgis.com/home/item.html?id=c03a526d94704bfb839445e80de95495 

Or create your own web map. To do this, open the ArcGIS Online Map Viewer and set the basemap to be imagery. Then save the webmap and copy the itemid from the URL.

Thanks

John