Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用https://developers.google.com/maps/documentation/javascript/places#places_autocomplete。有没有办法知道用户何时选择了建议列表中的项目?触发了什么事件?
不会触发“place_changed”事件吗?
我基于文档“获取地点信息”部分。
例子的源代码可以看到有一个
google.maps.event.addListener(autocomplete, 'place_changed', function() { ... });