add  parameter to map class
Merge pull request #4 from atmosfair/map_mode

add  parameter to map class