moved map location to onConnected()