Render Map Using a Bitmapsymbol
POST Request
POST http://hostname:port/rest/Spatial/MappingService/maps/image.png;w=400;h=400;b=-125,23,-66,49,epsg%3A4269
Content-type: application/json
Authorization: <Basic or Spectrum Token>
Example
{
"MapDescription": {
"layers": [
{
"type": "FeatureLayer",
"description": "Layer",
"labelProperties": null,
"renderable": true,
"table": {
"name": "/Samples/NamedTables/WorldcapTable",
"type": "NamedTable"
},
"themeList": {
"theme": [
{
"type": "OverrideTheme",
"style": {
"type": "MapBasicCompositeStyle",
"PointStyle": {
"type": "MapBasicPointStyle",
"MapBasicSymbol": {
"type": "MapBasicBitmapSymbol",
"uri": "AMBU1-32.BMP",
"color": "16711680",
"showBackground": true
}
},
"LineStyle": {
"type": "MapBasicLineStyle",
"MapBasicPen": {
"width": 1,
"pattern": 2,
"color": "0"
}
},
"AreaStyle": {
"type": "MapBasicAreaStyle",
"MapBasicPen": {
"width": 1,
"pattern": 2,
"color": "0"
},
"MapBasicBrush": {
"pattern": 2,
"foregroundColor": "0",
"backgroundColor": "16777215"
}
}
},
"visibilityConstraintList": null
}
]
},
"visibilityConstraintList": null
}
]
}
}