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.

getTile<br />

Description<br />

Returns generated map tiles from the <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> based on the input parameters specified.<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 />

col<br />

<strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> Guide<br />

Type<br />

String<br />

Integer<br />

Integer<br />

Required<br />

yes<br />

yes<br />

yes<br />

Description<br />

Chapter 4: Legacy <strong>Map</strong> <strong>Tiling</strong> Interface<br />

Specifies the name of the named tile from which<br />

the tile is generated. You must specify the location<br />

in the repository for the named tile.<br />

Determines the zoom level of the tile to be returned.<br />

The level shows how close the map image is to the<br />

Earth. Level 1 is the furthest away and is composed<br />

of one tile that the entire map will be drawn into.<br />

Level 2 is composed of 4 tiles, 2 across and 2<br />

down. Each tile is a quarter of the entire map. Level<br />

3 is composed of 16 tiles, 4 across and 4 down,<br />

and so on. The higher the level specified, the closer<br />

to the Earth the map image appears. For example,<br />

levels 1 to 3 usually show global or hemispheric<br />

detail, levels 4 to 15 show county/state/province<br />

level of detail and some larger cities, levels greater<br />

that 15 show street level views.<br />

What the levels actually display is dependant on<br />

the named map published to the <strong>Map</strong> Tile <strong>Service</strong>.<br />

For example, the levels demonstrated above are<br />

for Envinsa's High named map. If you published a<br />

map of New York, Toronto, or London then level 1<br />

would be a street level map of Toronto while high<br />

levels would be more detailed.<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 column of the tile, based on the<br />

level parameter specified.<br />

31

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

Saved successfully!

Ooh no, something went wrong!