【发布时间】:2017-10-31 10:50:05
【问题描述】:
我需要在我的“最喜欢的位置”列表中进行搜索,并将该列表中的位置带到搜索结果的顶部。
请找到我用于 google 自动完成的代码 sn-p。
let autocomplete = new google.maps.places.Autocomplete(elementRef, {
componentRestrictions: { country: 'KW' }
});
我正在研究 Angular 4。有人可以指导我吗?
谢谢!
【问题讨论】:
标签: angular google-maps-api-3 google-location-services