基于文本/地址输入的标记更改使用此处地图
我在这里使用地图插件,需要根据地址/文本输入更改标记位置。我一直在寻找互联网上的示例,但没有发现。 使用此插件是否有可能执行此类操作?可能有人可以指出,我必须在哪里看,或者可能是一个有工作的例子?任何帮助都赞赏。 “ Google Maps”中使用了类似的东西 https://developers.google.com/maps/maps/documentation/documentation/javascript/javascript/javascript/示例/place-searchbox
I'm using HERE map plugin and I need to change marker position based on address/text input. I was looking for an examples in internet, but nothing was found.
Is it even possible to do such thing, using this plugin? May be someone can point out, where do I have to look, or may be someone have working example? Any help appreciated.
Something similar is used in "Google Maps"
https://developers.google.com/maps/documentation/javascript/examples/places-searchbox
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 https://developer.here.here.com/documentation/exampleasation/exampleas/maps-js/services/geocode-a-a-location-a-location-from-address
工作示例是可在
You can refer to the documentation for "Search for a Location based on an Address" can be found at https://developer.here.com/documentation/examples/maps-js/services/geocode-a-location-from-address
The working example is available at https://jsfiddle.net/4Lodwfb3/ - request a location using a free-form text input and display a marker on the map.