add get map image function