complexType MapView
diagram mapping_p245.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type extension of tns:MapViewBase
properties
base tns:MapViewBase
abstract true
children tns:AffineTransform tns:Width tns:Height
used by
elements ConvertPointToXYRequest/MapView ConvertXYToPointRequest/MapView ConvertXYToLineStringRequest/MapView ConvertXYToEnvelopeRequest/MapView ConvertXYToPolygonRequest/MapView GetLengthRequest/MapView RenderNamedMapRequest/MapView RenderInlineNamedMapRequest/MapView RenderNamedMapWithOverlayRequest/MapView RenderMapRequest/MapView ConvertMapViewRequest/MapView ConvertMapViewResponse/MapView GetMapCenterRequest/MapView GetMapScaleRequest/MapView GetMapZoomLevelRequest/MapView GetMapBoundsRequest/MapView ZoomNamedMapByScaleRequest/MapView ZoomNamedMapByLevelRequest/MapView ZoomNamedMapByWindowRequest/MapView PanNamedMapByXYRequest/MapView PanNamedMapByCenterRequest/MapView MapImage/MapView
complexTypes BoundsMapView DefaultMapView ScaleAndCenterMapView ZoomAndCenterMapView
attributes
Name  Type  Use  Default  Fixed  Annotation
unit  tns:PaperUnit  optional  Pixel    
documentation
The unit of measure for paper units. The default value is Pixel. Please see the PaperUnit element's documentation for a listing of all possible values.
rendering  tns:Rendering  optional  Speed    
appinfo
deprecated
documentation
Deprecated: The value of this attribute is ignored and is always Quality.
background  xsd:string  optional      
documentation
The background color to use for the map image, as expressed in #RRGGBB format. If not supplied, then the background color will be transparent.
mapResolution  xsd:int  optional      
documentation
The resolution of map images in dots per inch (the number of individual dots that can be placed within the span of one linear inch). The default value is 96 dpi. The minimum dpi you can define is 72, anything less would render a poor quality image. If a value less than 72 is defined the service will throw an exception.
backgroundOpacity  xsd:double  optional      
documentation
The opacity of the background color. If the background and backgroundOpacity attributes are specified, these values will be used to draw the background. If the background is not used, then the background will be totally transparent regardless of the backgroundOpacity attribute. If the background is used but no opacity is specified, then the background will be totally opaque.
annotation
documentation
Describes the view of a map. The MapView can be defined three ways: Bounds, Scale and Center, or Zoom and Center. These are defined as complex types of the MapView type.  The coordinate system of the center point or the bounds specifies the spatial reference system of the map.

attribute MapView/@unit
type tns:PaperUnit
properties
use optional
default Pixel
facets
Kind Value Annotation
enumeration Centimeter
documentation
The paper distance unit for: centimeter.
enumeration Inch
documentation
The paper distance unit for: inch.
enumeration Millimeter
documentation
The paper distance unit for: millimeter.
enumeration Pica
documentation
The paper distance unit for: pica.
enumeration Point
documentation
The paper distance unit for: point. A point is 1/72 of an inch.
enumeration Pixel
documentation
The paper distance unit for: pixel.
enumeration Twip
documentation
The paper distance unit for: twip. A twip is 1/1440 of an inch.
enumeration Meter
documentation
The paper distance unit for: meter.
annotation
documentation
The unit of measure for paper units. The default value is Pixel. Please see the PaperUnit element's documentation for a listing of all possible values.

attribute MapView/@rendering
type tns:Rendering
properties
use optional
default Speed
facets
Kind Value Annotation
enumeration Speed
documentation
Specifies the fastest type of rendering possible. This does NOT use anti-aliasing.
enumeration Quality
documentation
Specifies the best quality of rendering possible. This uses anti-aliasing.
annotation
appinfo
deprecated
documentation
Deprecated: The value of this attribute is ignored and is always Quality.

attribute MapView/@background
type xsd:string
properties
use optional
annotation
documentation
The background color to use for the map image, as expressed in #RRGGBB format. If not supplied, then the background color will be transparent.

attribute MapView/@mapResolution
type xsd:int
properties
use optional
annotation
documentation
The resolution of map images in dots per inch (the number of individual dots that can be placed within the span of one linear inch). The default value is 96 dpi. The minimum dpi you can define is 72, anything less would render a poor quality image. If a value less than 72 is defined the service will throw an exception.

attribute MapView/@backgroundOpacity
type xsd:double
properties
use optional
annotation
documentation
The opacity of the background color. If the background and backgroundOpacity attributes are specified, these values will be used to draw the background. If the background is not used, then the background will be totally transparent regardless of the backgroundOpacity attribute. If the background is used but no opacity is specified, then the background will be totally opaque.


© 2007, 2020 Precisely. All rights reserved. support.precisely.com