What I did for this was created a custom macro that retrieved the lat and long from session. I had created a custom filter that when all the filter criteria was set, the closest lat and long were then set for the custom macro to retrieve and on postback the webpart picked up the new default lat and long and recentered. I'd suggest not modifying the base webpart but clone it and make your changes if you're making changes.