Render a Named Map

The simplest map to render is a named map. A named map resides in the repository and includes all the data source, mapping and layer information needed to display a map image. A named map can be rendered in a SOAP or REST request. The only information to provide at runtime in addition to the named map is the map view, which is the location and the size of the map.

The best way to create a named map is to use MapInfo Pro to interactively create your map content and settings. This is done by using a MapInfo Pro plug-in called Map Uploader. This utility will convert the information in a map window into the appropriate named resources that Spectrum Spatial can understand and adds them to the Spectrum Spatial repository which are then ready for use by the Mapping Service. There are three types of named resources that can be uploaded with Map Uploader: maps, tables and layers.

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 Named Map from the drop-down list.

For a REST example, see Render Named Map Given a Center and Zoom.