complexType GetMapScaleRequest
diagram mapping_p161.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type extension of tns:Request
properties
base ns:Request
children tns:MapView
used by
element GetMapScaleRequest
attributes
Name Type Use Default Fixed Annotation
id xsd:string optional
A unique identifier that is returned in the response. It is used for debugging or keeping track of asynchronous requests.
locale xsd:string optional
The language and country code of the request, which is defined using [language_code]_[country_code] syntax. The language code is a 2-letter ISO-639 code. The country code is a 2-letter ISO-3166 code. For example: en_US stands for the English language within the United States of America.
description
A request to get the scale of a map in real world coordinates given the map view. The scale will be defined by a single distance value that specifies the conversion between a single map value and real world value.

element GetMapScaleRequest/MapView
diagram mapping_p162.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type tns:MapView
properties
content complex
children tns:AffineTransform tns:Width tns:Height
attributes
Name Type Use Default Fixed Annotation
unit tns:PaperUnit optional Pixel
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
Deprecated: The value of this attribute is ignored and is always Quality.
background xsd:string optional
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
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
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.
description
The map view used to return the map scale.



© 2017 Pitney Bowes Software Inc. support.pb.com