Feature Layer with Custom Symbol Point Override Theme - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

This example assumes that the folder that stores the symbol image files is defined in the classpath.ext file (see Custom Symbols.

POST Request

POST http://hostname:port/rest/Spatial/MappingService/maps/image.png;w=800;h=600;c=-101,42,epsg:4269;z=3500%20mi
Content-type: application/json
Authorization: <Basic or Spectrum Token>

Example

{
   "layers": [
		{
			"type": "FeatureLayer",
			"Table": {
				"type": "NamedTable",
				"name": "/Samples/NamedTables/USA_CAPS"
			},
			"ThemeList": {
				"type": "ThemeList",
				"Theme": [
					{
						"type": "OverrideTheme",
						"Style": {
							"type": "MapBasicPointStyle",
							"MapBasicSymbol": {
								"type": "MapBasicBitmapSymbol",
								"uri": "citysymbol.png",
								"size": 12,
								"transparent": true
							}
						}
					}
				]
			}
		},
		{
			"type": "FeatureLayer",
			"Table": {
				"type": "NamedTable",
				"name": "/Samples/NamedTables/USA"
			}
		}
	]
}