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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How Pixels, Tiles, and <strong>Map</strong><br />

Coordinates are<br />

Transformed<br />

The following sections provide background information on the underlying process<br />

used by the <strong>Map</strong> <strong>Tiling</strong> Interface methods to perform transformations between<br />

pixels, tiles and coordinate systems. These transformations enable applications<br />

to return, pan, zoom, and display the appropriate tile.<br />

The <strong>Map</strong> <strong>Tiling</strong> Interface methods convertScreenTo<strong>Map</strong>Coord, convertScreenToTileCoord,<br />

convert<strong>Map</strong>ToVirtualPixelCoord and convert<strong>Map</strong>ToTileCoord<br />

provide a much easier way to perform the transformations<br />

described in the following sections. For information on these methods, see convertScreenTo<strong>Map</strong>Coord<br />

on page 34, convertScreenToTileCoord on page 36,<br />

convert<strong>Map</strong>ToVirtualPixelCoord on page 38 and convert<strong>Map</strong>ToTileCoord on<br />

page 37.<br />

In this section:<br />

• Transforming a Pixel to a <strong>Map</strong> Coordinate . . . . . . . . . . . .54<br />

• Transforming a Pixel to a Tile Coordinate . . . . . . . . . . . .54<br />

• Transforming a <strong>Map</strong> Coordinate to a Tile Coordinate . . .55<br />

C

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

Saved successfully!

Ooh no, something went wrong!