Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* See description in header file. */
- void GeographicPolylineLayer::GetTile(TileKeyPtr tileKey,
- TileKeyPtr convertedTileKey,
- AsyncTileRequestWithRequestPtr callback,
- uint32 priority,
- bool cachedOnly)
- {
- // TODO: comment out
- // don't get tile and see if memory is down
- return;
- if (!callback)
- {
- return;
- }
- NB_Error error = NE_OK;
- do
- {
- //@todo: do we need cache ???
- if (cachedOnly || !m_tileAvaiable)
- {
- error = NE_NOENT;
- break;
- }
- DataStreamPtr data;
- error = m_tileGenerator->GenerateTileData(convertedTileKey, data);
- if (error != NE_OK)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement