ArcGIS REST Services Directory
Login
|
Get Token
Home
>
services
>
GI_Platform
>
ExportWebMap (GPServer)
>
Export Web Map
>
execute
API Reference
Execute Task (Export Web Map)
Web Map as JSON:
(
GPString
)
{ "mapOptions": { "showAttribution": true, "extent": { "xmin": 1.119122668915029E7, "ymin": 1513577.7572054402, "xmax": 1.1238159024517326E7, "ymax": 1563491.136675593, "spatialReference": {"wkid": 102100} }, "spatialReference": {"wkid": 102100}, "scale": 288895.277144 }, "operationalLayers": [ { "id": "agolbasemap", "title": "AGOL Basemap", "opacity": 1, "minScale": 5.91657527591555E8, "maxScale": 1128.497176, "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" }, { "id": "gibasemap", "title": "ข้อมูลแผนที่ฐาน", "opacity": 1, "minScale": 0, "maxScale": 0, "url": "https://cpudgiapp.bangkok.go.th/arcgis/rest/services/GI_Platform/BMAGI_Basemap/MapServer" } ], "exportOptions": { "outputSize": [ 670, 500 ], "dpi": 96 }, "layoutOptions": { "titleText": "ArcGIS Web Map", "authorText": "", "copyrightText": "", "customTextElements": [{"descName": "ทดสอบ Print Map"}], "scaleBarOptions": { "metricUnit": "esriKilometers", "metricLabel": "km", "nonMetricUnit": "esriMiles", "nonMetricLabel": "mi" }, "legendOptions": {"operationalLayers": [{ "id": "gibasemap", "subLayerIds": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ] }]} } }
Format:
(
GPString
)
PDF
Layout Template:
(
GPString
)
รูปแบบทั่วไปแบบที่1(A4-แนวตั้ง)
Options:
Output Spatial Reference:
Process Spatial Reference:
ReturnZ:
True
False
ReturnM:
True
False
Return True Curves:
True
False
Return Feature Collection:
True
False
Context:
Format:
HTML
JSON
KMZ
GeoJSON