Try this:
var input = document.getElementByID( ... )
// create the autocomplete for the input
(...)
input.val = 'whatever' ;
google.maps.event.trigger( input, 'focus', {} )
Problems:
- For some reason it does not always work (1 in 1000 times it does not
request the service)
- Sometimes happens to get the suggestions of the previously introduced
string
Good coding!
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/e7jiaxJSQMoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.