fixes gmaps creation/destruction and set center