fix performance issues in map
Merge pull request #34 from litso/integrateimages

fix performance issues in map