added a map selector
fixed a small bug in camera zoom
fixed invalidation of map cache