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.

Objects<br />

Parameter<br />

name<br />

output<br />

Example<br />

Type<br />

String<br />

String<br />

Required<br />

yes<br />

yes<br />

Description<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>ToVirtualPixelCoord?<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":{"type":"<strong>Map</strong><strong>Tiling</strong>Response","virtualPixelCoord":{"virtualX":1023,"virtualY":1023}}}<br />

Returns<br />

A VirtualPixelCoordinate object as seen in the above example. See VirtualPixelCoordinate on page<br />

44.<br />

Objects<br />

This section describes the JSON objects that are returned in the response to a <strong>Map</strong> <strong>Tiling</strong> Interface request.<br />

<strong>Map</strong>Description<br />

40<br />

A <strong>Map</strong>Description object defines the metadata for a named map.<br />

When a <strong>Map</strong>Description object is returned in an EnvinsaResponse JSON object, the <strong>Map</strong>Description<br />

object is always located in a JSON field named description.<br />

Fields<br />

A <strong>Map</strong>Description object contains the following fields:<br />

Field Name<br />

maxLevel<br />

Type<br />

Integer<br />

Description<br />

The maximum level (zoom in) that you can request<br />

for the map. Level 1 is the furthest away and is<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!