complexType ScaleAndCenterMapView
diagram mapping_p292.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type extension of tns:MapView
properties
base tns:MapView
children tns:AffineTransform tns:Width tns:Height tns:Scale tns:MapCenter
used by
element ScaleAndCenterMapView
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
Defines a map view by scale and a center point. The coordinate system of the center point specifies the spatial reference system of the map.

element ScaleAndCenterMapView/Scale
diagram mapping_p293.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type xsd:double
properties
content simple
annotation
documentation
The map view will be zoomed to the specified scale. The scale value is used to compare map and real world distance values. For example, if a value of 1000 is specified, the map scale is 1:1000 (1 map unit is equal to 1000 real world units).

element ScaleAndCenterMapView/MapCenter
diagram mapping_p294.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type tns:Point
properties
content complex
children tns:Pos
attributes
Name  Type  Use  Default  Fixed  Annotation
srsName  xsd:string  optional      
documentation
The spatial reference system name associated with this geometry.
annotation
documentation
The center point to use for this map view.


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