HOW TO
Instructions provided describe how to create an ArcGIS.com Web map using parameters within a URL.
Note:
This article has been superceded by ArcGIS.com online help. See the topic entitled Using URL Parameters for the latest information.
Code:
http://www.arcgis.com/home/webmap/viewer.html?
Note:
To include more than one parameter, use an ampersand (&) to separate the parameters. For example:
Code:
http://www.arcgis.com/home/webmap/viewer.html?center=20,45&level=4
Code:
http://www.arcgis.com/home/webmap/viewer.html?
basemapUrl=http://services.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer
Code:
http://www.arcgis.com/home/webmap/viewer.html?webmap=2def3f0c7be74f05af33ac87b8d03ef2.
Code:
http://www.arcgis.com/home/webmap/viewer.html?
url=http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Daytime_Population/MapServer
Code:
http://www.arcgis.com/home/webmap/viewer.html?center=20,45
Code:
http://www.arcgis.com/home/webmap/viewer.html?center=500000,5500000,102100
Code:
http://www.arcgis.com/home/webmap/viewer.html?extent=-117.20,34.055,-117.19,34.06
Code:
http://www.arcgis.com/home/webmap/viewer.html?extent=-13079253.954115,3959110.38566837,-12918205.318785,4086639.70193162,102113
The cache scale level can be determined using the information on the Map Service's REST endpoint. The resolution is inversely related to the scale.
Code:
http://www.arcgis.com/home/webmap/viewer.html?center=20,45&level=4
Code:
http://www.arcgis.com/home/webmap/viewer.html?center=500000,5500000,102100&level=4
Article ID:000011072
Get help from ArcGIS experts
Download the Esri Support App