int tsmGetNextTile ( TsmHandle *tsmh, TsmTileHeader *tileHeader, unsigned char *tileBuffer, ... ) Retrieve the tile header and data for the next tile in the queue
Retrieve the tile header and data for the next tile in the queue.N.B. this function is part of the old style server-centric interface to tsmApi. You should really start using the new leaner, cleaner, and sexier connection-based interface (see tsmConnect). This function is now just an emulation layer on top of the relevant connection-based function(s): tsmReadNextTile.
Once you have requested a number of tiles using tsmReqTiles, then you can use tsmGetNextTile to retrieve the tiles as they become available. This approach is primarily for accessing tiles from the DPSS, but works for any protocol.
The tile header contains various pieces of information about a tile such as its coordinates, level, etc. These can be accessed through API calls - see tsmMakeTileHeader for further details.