MapInfo Spatial Server Map Tiling Service - Product Documentation ...
MapInfo Spatial Server Map Tiling Service - Product Documentation ...
MapInfo Spatial Server Map Tiling Service - Product Documentation ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Parameter<br />
level<br />
screenX<br />
screenY<br />
view<br />
output<br />
Example<br />
Type<br />
Integer<br />
Integer<br />
Integer<br />
Bounds<br />
String<br />
Required<br />
yes<br />
yes<br />
yes<br />
yes<br />
yes<br />
Description<br />
Specifies the map zoom level.<br />
This parameter must be set to a value greater than<br />
or equal to the minLevel value and less than or<br />
equal to the maxLevel value for the named map.<br />
You can determine these values by calling the<br />
getDescription method and examining the returned<br />
<strong>Map</strong>Description object. For more information, see<br />
getDescription on page 29 and <strong>Map</strong>Description<br />
on page 40.<br />
Specifies the x coordinate value of the point in the<br />
view to be converted. This point is specified from<br />
the upper left corner of the view in pixels.<br />
Specifies the y coordinate value of the point in the<br />
view to be converted. This point is specified from<br />
the upper left corner of the view in pixels.<br />
Specifies the geographic bounds of the view that<br />
displays the map, expressed in terms of the map's<br />
coordinate system.<br />
Specifies the response format. Must be json.<br />
http://localhost:8080/rest/Enterprise<strong>Map</strong>ping/Legacy<strong>Map</strong><strong>Tiling</strong><strong>Service</strong>/convertScreenTo<strong>Map</strong>Coord?<br />
name=/NamedTiles/WorldTile<br />
&level=4<br />
&screenX=100<br />
&screenY=100<br />
&view=-20000000,20000000,20000000,-20000000<br />
&output=json<br />
The above example will return the following JSON response object:<br />
{"EnvinsaResponse":{"mapCoord":{"coordSys":"epsg:41001","point":{"x":-<br />
1.8045920859794818E7,"y":1.8045920859794818E7}},"type":"<strong>Map</strong><strong>Tiling</strong>Response"}}<br />
Returns<br />
A <strong>Map</strong>Coordinate object as seen in the above sample. See <strong>Map</strong>Coordinate on page 43.<br />
<strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> Guide<br />
Chapter 4: Legacy <strong>Map</strong> <strong>Tiling</strong> Interface<br />
35