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.
convert<strong>Map</strong>ToVirtualPixelCoord<br />
Parameter<br />
level<br />
name<br />
output<br />
Example<br />
Type<br />
Integer<br />
String<br />
String<br />
Required<br />
yes<br />
yes<br />
yes<br />
Description<br />
convertScreenTo<strong>Map</strong>Coord on page 34 and<br />
<strong>Map</strong>Coordinate on page 43.<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 name of the named map from which<br />
the map tiles are generated.<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>/convert-<br />
<strong>Map</strong>ToTileCoord?<br />
name=/NamedTiles/WorldTile<br />
&level=4<br />
&worldX=-79.377366<br />
&worldY=43.64713<br />
&output=json<br />
The above example will return the following JSON response object:<br />
{"EnvinsaResponse":{"tileCoord":{"column":4,"row":4},"type":"<strong>Map</strong><strong>Tiling</strong>Response"}}<br />
Returns<br />
A TileCoordinate object as seen in the above example. See TileCoordinate on page 43.<br />
convert<strong>Map</strong>ToVirtualPixelCoord<br />
38<br />
Description<br />
Converts a specified set of map coordinates to coordinates in the virtual pixel space of the entire map<br />
image, and returns them.<br />
Note:<br />
Do not confuse coordinates in the virtual pixel space of the entire map image with normal screen<br />
pixel coordinates. Normal screen pixel coordinates always start with (0, 0) at the top left corner<br />
<strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> 1.0