complexType Legend
diagram mapping_p203.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
children tns:LegendRow
used by
elements   GetNamedMapLegendsResponse/Legend GetMapLegendsResponse/Legend GetNamedMapWithOverlayLegendResponse/Legend
attributes
Name    Type    Use    Default    Fixed    Annotation
title    xsd:string    optional         
The title to use for the legend.
imageMimeType    xsd:string    required         
The mime type to express the legend in, when rendered.
legendType    tns:LegendType    required         
Defines the type of the legend, for example Cartographic. Please see the LegendType element's documentation for a listing of all possible types.
layerName    xsd:string    optional         
The name of the layer from which this legend was created.
description
Defines the legend of a map. The image data is returned as inline binary data with a description line for each of the pieces.

attribute Legend/@title
type xsd:string
properties
use   optional
description
The title to use for the legend.

attribute Legend/@imageMimeType
type xsd:string
properties
use   required
description
The mime type to express the legend in, when rendered.

attribute Legend/@legendType
type tns:LegendType
properties
use   required
facets
Kind   Value   Annotation
enumeration   Cartographic
Indicates a cartographic legend.
enumeration   FeatureStyleOverride
Indicates a feature style override legend.
enumeration   IndividualValueTheme
Indicates an individual value theme legend.
enumeration   RangedTheme
Indicates a ranged theme legend.
enumeration   BarTheme
Indicates a bar theme legend.
enumeration   PieTheme
Indicates a pie theme legend.
enumeration   GraduatedSymbolTheme
Indicates a graduated symbol theme legend.
enumeration   Grid
Indicates a grid theme legend.
enumeration   Raster
Indicates a raster legend.
enumeration   LineChartTheme
Indicates a line chart theme legend.
enumeration   LineLinkage
Indicates a line linkage theme legend.
enumeration   DotDensity
Indicates a dot density theme legend.
description
Defines the type of the legend, for example Cartographic. Please see the LegendType element's documentation for a listing of all possible types.

attribute Legend/@layerName
type xsd:string
properties
use   optional
description
The name of the layer from which this legend was created.

element Legend/LegendRow
diagram mapping_p204.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type tns:LegendRow
properties
minOcc   0
maxOcc   unbounded
content   complex
children tns:Description tns:Image
description
Defines a row of the legend, which includes a image data and a description line.



© 2016 Pitney Bowes Software Inc. Email: pbbi.support@pb.com