ArcGIS REST Services Directory
Login
Home
>
services
>
BMA
>
BMATemplatePrint (GPServer)
>
Export Web Map
>
submitJob
Help
|
API Reference
Submit Job (Export Web Map)
Web Map as JSON:
(
GPString
)
{ "mapOptions": { "showAttribution": true, "extent": { "xmin": 1.1184073661058145E7, "ymin": 1544112.6175496057, "xmax": 1.1211705646783197E7, "ymax": 1558654.762180841, "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "scale": 72223.819286 }, "operationalLayers": [ { "id": "layer0", "title": "layer0", "opacity": 1, "minScale": 0, "maxScale": 0, "url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" }, { "id": "โรงพยาบาล", "title": "โรงพยาบาล", "opacity": 0.8, "minScale": 0, "maxScale": 0, "layerDefinition": {"drawingInfo": {"renderer": { "type": "uniqueValue", "field1": "OWNER", "field2": null, "field3": null, "fieldDelimiter": ",", "defaultSymbol": { "color": [ 5, 0, 145, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriSMS", "style": "esriSMSCircle", "outline": { "color": [ 0, 0, 0, 255 ], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" } }, "defaultLabel": "<all other values>", "uniqueValueInfos": [ { "symbol": { "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriPMS", "url": "170a155b0b45a28eb048ac8818a81014", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAKpJREFUKJFjYcACJEsCtZ8z/lGF8dn/M3z72bN5F7o6Fmya3zH8SWT4z1AM4/9kYHjIwMCgQJRmYsFAay7xfYAs+JOBQRBNnQy6GvZ/TEkwm+UJWMKMruYnEwPXAPuZnYGhF8VJ/5jsGZj+mSAJfWJnYJiNooaF5S4LAwMDw8+ezSXIEuwlvj0/GRiQNb9HV0MdZ1Nb818ohgBGhj9Ea/7Zs7mcgYGhnJDNALa2K2KRbZ2KAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 11, "height": 11 }, "value": "1", "label": "BMA (กทม.)", "description": "" }, { "symbol": { "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriPMS", "url": "4c055dced3d9687f02b2302e0d3c6b12", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAKdJREFUKJFjYcACJAOXaz//w6gK47MzMHz7uTliF7o6Fmya3/1hTGRgYCiG8X8yMDxkYGBQIEozsWCgNfuueIAs+JOBQRBNnQy6Gnam/0kwm+UJWMKMruYnAwPXAPuZnYGhF8VJTAz2DP8YTJCEPrEzMMxGUcPCcJeFgYGB4efmiBJkCXbfFT0/GVA0v0dXQx1nU1vzXyiGgT9Ea/65OaKcgYGhnJDNAGh5KF7C6QPYAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 11, "height": 11 }, "value": "2", "label": "Ministry of Public Health (กระทรวงสาธารณสุข)", "description": "" }, { "symbol": { "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriPMS", "url": "f0a73c07be14ddf243d1ff63d8e19c98", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAKFJREFUKJHFkDEKwjAARX8x8MHNMUXQxcnV3bPUKyj0EnoCb+JdBF3SrYKD8KGiiy1pLDRDoR8y5PMeP8SgI87adVIUq6YgX1a6hJzpklGW2QfYN3fpDmAZJ0dmZNkBt1YrzQJuHjIJuauXFz0jkz9Gmo79YeSp1UpbABuveYI8B8zVAEAqHfzekUdIvvwImYGePbD8/p06VbScSjmAvG/5C4XHLSf0tLfoAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 11, "height": 11 }, "value": "4", "label": "Private (เอกชน)", "description": "" } ] }}}, "url": "https://district.bangkok.go.th/arcgis/rest/services/bma/Health_Medicine/FeatureServer/0" }, { "id": "esri.Map_0_graphics", "opacity": 1, "minScale": 0, "maxScale": 0, "featureCollection": {"layers": [{ "layerDefinition": { "name": "polygonLayer", "geometryType": "esriGeometryPolygon" }, "featureSet": { "geometryType": "esriGeometryPolygon", "features": [{ "geometry": { "rings": [[ [ 1.119727815769439E7, 1552864.6572882468 ], [ 1.119922730191566E7, 1552654.4554604627 ], [ 1.1199169974144446E7, 1552329.5980902512 ], [ 1.1197545687293388E7, 1552367.8166043938 ], [ 1.119727815769439E7, 1552864.6572882468 ] ]], "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "symbol": { "color": [ 56, 161, 83, 100 ], "outline": { "color": [ 56, 161, 83, 100 ], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" }, "type": "esriSFS", "style": "esriSFSSolid" } }] } }]} } ], "exportOptions": { "outputSize": [ 800, 1100 ], "dpi": 96 }, "layoutOptions": { "customTextElements": [ {"CUSTOM_TITLE": "sss"}, {"CUSTOM_DESC": "ssssทดสอบ"}, {"CUSTOM_DATE": "20 ตุลาคม 2563"} ], "scaleBarOptions": {}, "legendOptions": {"operationalLayers": [{"id": "โรงพยาบาล"}]} } }
Format:
(
GPString
)
PDF
Layout Template:
(
GPString
)
SED_map_A4_Landscape
Options:
Output Spatial Reference:
Process Spatial Reference:
ReturnZ:
True
False
ReturnM:
True
False
Return True Curves:
True
False
Context:
Format:
HTML
JSON
KMZ
GeoJSON