Adding the ability to search Local on thepub

Added some quick business logic to detect for lat/lng and change endpoints.