我已经包含了一个Gmap搜索框,它通过调用自动完成服务来给出预测。但是,它从服务中获得的预测是可以的,此外,我还想显示数据库中的预测。我创造了: var searchBox = new google.maps.places.SearchBox(input);
map.controls[google.maps.ControlPosition.TOP
在它里面,我调用一个google方法来根据当前的输入获取预测。var addressAutocomplete = function(input) {
var service = new google.maps.places.AutocompleteService= google.maps.places.Plac