Implementing MapFragment logic