complexType ZoomNamedMapByWindowRequest
diagram mapping_p313.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type extension of tns:MapRenderRequest
properties
base tns:MapRenderRequest
children tns:MapView tns:NamedMap tns:XYEnvelope
used by
element ZoomNamedMapByWindowRequest
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.
imageMimeType  xsd:string  optional  image/png    
documentation
Defines the format of the map image. You must specify the mime type of the image in the format "image/mimetype". The image types supported are png, jpg, and gif.
returnImage  xsd:boolean  optional  false    
documentation
Defines how the map image is returned in the response. By default, the map image is not returned in the response, and only an URL pointing to the image location is returned. If returnImage is set to "true", the map image will be returned as inline binary data in the response.
continueOnException  xsd:boolean  optional  true    
documentation
Deprecated: This attribute will be removed in future release. Defines whether the issues with rendering of underlying layers should be ignored or not. By default, the layer issue will be ignored. If ignoreLayer is set to false, the map image will not be returned and exception will be returned.
ratioAdjustment  tns:RatioAdjustment  optional  ExpandBounds    
documentation
Modifies the returned image to fit the defined extent of the window into the map image view. Specify ExpandBounds to have the defined window expanded to include more map information to fill the map view size if the current window is smaller than the defined map zoom and view.
annotation
documentation
A request to get a map image for a named map that is at a particular zoom level based on a defined window bounds (XY pair of screen image coordinates).

attribute ZoomNamedMapByWindowRequest/@ratioAdjustment
type tns:RatioAdjustment
properties
use optional
default ExpandBounds
facets
Kind Value Annotation
enumeration StretchMap
documentation
Not supported.
enumeration ExpandBounds
documentation
Specifies to have the defined window expanded to include more map information to fill the map view size, if the current window is smaller than the defined map zoom and view.
annotation
documentation
Modifies the returned image to fit the defined extent of the window into the map image view. Specify ExpandBounds to have the defined window expanded to include more map information to fill the map view size if the current window is smaller than the defined map zoom and view.

element ZoomNamedMapByWindowRequest/MapView
diagram mapping_p314.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 map view used to define the map image.

element ZoomNamedMapByWindowRequest/NamedMap
diagram mapping_p315.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type xsd:string
properties
content simple
annotation
documentation
The name of the named map.

element ZoomNamedMapByWindowRequest/XYEnvelope
diagram mapping_p316.png
namespace http://www.mapinfo.com/midev/service/mapping/v1
type tns:XYEnvelope
properties
content complex
children tns:XY1 tns:XY2
annotation
documentation
A pair of XY coordinates that represent the window or screen bounds.


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