This code is provided "as-is." No warranties or support is provided. Tested for webpage/HTML only... not recommended for use in HTML email, social media, or SMS/Text applications.
You can customize this code; update suggested input text; the application will automatically localize area (IE: if you type Boston it will assume Massachusetts (MA). If you just type Concord, it's best if you add a State but it might suggest an address for you. SAMPLE: Concord MA, Concord NH, Concord NY.
Adding a start or desitination with a state helps the application find a local resource. If you do not add a state, the app may suggest an address/location for you. Last but not least... if the application has no clue... it might try to use any Google cookies or Location Services to find a local address. If you are plannng a bus, train, or trip out of state; definately include state names.
Local Searches can include food, coffee, gas station, pharmacy, hospital, or business names. SAMPLE: "coffee, Copley Square, MA"Users can then sort results by transit method via car, bus, bike or walking.