CQ H0100136744 - Fix grid management
authorTae-Hwan Kim <the81.kim@samsung.com>
Thu, 24 Nov 2011 12:53:29 +0000 (21:53 +0900)
committerTae-Hwan Kim <the81.kim@samsung.com>
Tue, 29 Nov 2011 03:45:09 +0000 (12:45 +0900)
commit5a0ee5556031e2deb8f86ebf8fa8e5da11149e59
tree20f1ae794b552c9e9bcab691814a9f891054eeb0
parent5309110056d277ed1ff0cf07fcd5beca26c18f33
CQ H0100136744 - Fix grid management

[Reason]
There are no image caching mechanism because it keep only two grid

[Solution]
1. Create all grids (all zoom levels) when elm_map_add() is called (No overhead because of sparse matrix)
2. Clear all grids when map object is deleted.
3. Loads neccessary grids and unload unused grids when zoom is changed.

@Raster
Please reivew my patch set.

Change-Id: I79fba24f941d02a8f998a7177325bc2514c38787
src/lib/elm_map.c