I think this is a kind of victory for the goal of the car.
You can simply program autofill predictions as follows:
function initialize()
{
var service = new google.maps.places.AutocompleteService();
service.getQueryPredictions({ input: 'some address' }, callback);
}
function callback(predictions, status)
{
if (status != google.maps.places.PlacesServiceStatus.OK)
{
alert(status);
return;
}
var result = predictions[0]
}
Hope that helps
source
share