gestures and maptype working