code cleanup, removed code to set map center, not working so well