8
I'm trying to get google places autocomplete working with predefined data but so far no luck.
Lets say I have this text "Alaskan Way South, Seattle, WA" in an input field predefined like this:
<input id="ev-loc-input" size="60" value="Alaskan Way South, Seattle, WA" />
I initialize googles autocomplete on it and I would like to somehow trigger it so it looks for this address right when the page loads.
There seem to be only one documented event for it "place_changed":
google.maps.event.addListener(events_autocomplete, 'place_changed', function(){..
I cant use this one cause it gets triggered after the address lookup is already done. I couldn't find a list of events available - maybe anyone knows?
Any help much appreciated!