04.02.2013 Views

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

convertScreenToTileCoord<br />

convertScreenToTileCoord<br />

36<br />

Description<br />

Returns the row and column number of the map tile in which a specified screen pixel lies.<br />

Parameters<br />

For information on the parameter types listed below, see Request URL Data Types on page 46.<br />

Parameter<br />

name<br />

level<br />

screenX<br />

screenY<br />

view<br />

output<br />

Example<br />

Type<br />

String<br />

Integer<br />

Integer<br />

Integer<br />

Bounds<br />

String<br />

Required<br />

yes<br />

yes<br />

yes<br />

yes<br />

yes<br />

yes<br />

Description<br />

Specifies the name of the named map.<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 used to select the tile. This point is specified<br />

from the upper left corner of the view in pixels.<br />

Specifies the y coordinate value of the point in the<br />

view used to select the tile. This point is specified<br />

from 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>/convertScreenToTileCoord?<br />

<strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> 1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!