complexType GetLengthRequest
diagram mapping_p146.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type extension of tns:Request
properties
base ns:Request
children tns:MapView tns:XYList
used by
element GetLengthRequest
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xsd:string  optional      
documentation
A unique identifier that is returned in the response. It is used for debugging or keeping track of asynchronous requests.
locale  xsd:string  optional      
documentation
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.
unit  tns:DistanceUnit  optional      
documentation
The unit of measure to return the length.
annotation
documentation
A request to get the real world length given XY pairs on the map image.

attribute GetLengthRequest/@unit
type tns:DistanceUnit
properties
use optional
facets
Kind Value Annotation
enumeration Centimeter
documentation
The distance unit for: centimeter.
enumeration cm
documentation
The distance unit for: centimeter.
enumeration Chain
documentation
The distance unit for: chain.
enumeration Foot
documentation
The distance unit for: foot.
enumeration ft
documentation
The distance unit for: foot.
enumeration Inch
documentation
The distance unit for: inch.
enumeration in
documentation
The distance unit for: inch.
enumeration Kilometer
documentation
The distance unit for: kilometer.
enumeration km
documentation
The distance unit for: kilometer.
enumeration Link
documentation
The distance unit for: link.
enumeration Meter
documentation
The distance unit for: meter.
enumeration m
documentation
The distance unit for: meter.
enumeration Mile
documentation
The distance unit for: mile.
enumeration mi
documentation
The distance unit for: mile.
enumeration Millimeter
documentation
The distance unit for: millimeter.
enumeration mm
documentation
The distance unit for: millimeter.
enumeration NauticalMile
documentation
The distance unit for: nautical mile.
enumeration Pica
documentation
The distance unit for: pica.
enumeration Point
documentation
The distance unit for: point.
enumeration Rod
documentation
The distance unit for: rod.
enumeration SurveyFoot
documentation
The distance unit for: survey foot.
enumeration Twip
documentation
The distance unit for: twip.
enumeration Yard
documentation
The distance unit for: yard.
enumeration yd
documentation
The distance unit for: yard.
annotation
documentation
The unit of measure to return the length.

element GetLengthRequest/MapView
diagram mapping_p147.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    
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
The view that defines the transformation from XY to real world coordinates. The view is used to transform the starting point (upper left corner) of the map used to define the 0,0 XY pair which all other XY pairs can be transformed.


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