Used local var to make google maps instance accessible in MapController