[TileMap Display Issue] Tilemap not match real size

Purpose: Full-screen display a tilemap which is with the same size to screen.

What did i do:

  1. Draw a 800x480 TileMap by Tiled. Every tile is 32x32 pixel.
  2. Run Android virtual device, screen is 800x480.
  3. Run test program to load my TileMap.

Issue: It can not display the tilemap in full-screen (tilemap is smaller than screen). Please find the screen-shot in attachment.

What I found:
When I try to get the log of tile size, I do find it is 32x32 pixel.
CCSize tileSize = pDesertTileMap->getTileSize();


20131123123436.jpg (224.1 KB)