Render Map with Inline Layers - 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

For more flexibility when rendering a map you can use inline layers, which are layers that are defined in the request. Any supported layer type can be defined inline. Layers can be defined by named tables or memory tables.

Named Table

The simplest form of an inline layer is defined by a named table. For more dynamic data, consider adding themes, styles, and labels inline instead of building them into the named layer.

For a SOAP example, go to the Spectrum Spatial SOAP Mapping Service Demo Page at http://<server>:<port>/Spatial/MappingService/DemoPage.html and choose Render Map With FeatureLayer IVT from the drop-down list. This example includes an inline FeatureLayer that is defined by a named table (/Samples/NamedTables/USA) and an Individual Value theme defined with named styles.

For a REST example, see Equal Count Range Theme with MapBasic Styles. This example shows the JSON section of the request that includes a FeatureLayer that is defined by a named table (/Samples/NamedTables/USA) and a Range theme.

Memory Table

An inline layer that is defined by a memory table is a powerful capability when rendering a map. This option is useful when the data to act upon is not accessible as a named table. Your application would generate a FeatureCollection, for example, a list of points, that can be passed in the request and rendered without accessing the actual data or referring to a named table.

For a SOAP example, go to the Spectrum Spatial SOAP Mapping Service Demo Page at http://<server>:<port>/Spatial/MappingService/DemoPage.html and choose Render Map2 from the drop-down list. This example includes an inline FeatureLayer that is defined by a memory table, where the FeatureCollection are point locations defined by strings.