简体   繁体   English

如何在Wp7中的BingMaps上显示特定位置?

[英]How to Display a particular location on BingMaps in Wp7?

I am Having a map and a textbox name txtSearch and a button name btnSearch . 我有一个地图和一个文本框名称txtSearch和一个按钮名称btnSearch。 I have provided a Service Refference of SearchService and GeocodeService. 我提供了SearchService和GeocodeService的服务引用。 How can we Find a particular location on maps after entering a Place in textbox and clicking search button. 在文本框中输入地点并点击搜索按钮后,我们如何在地图上找到特定位置。

Visit http://www.bingmapsportal.com/ISDK/AjaxV7 ! 访问http://www.bingmapsportal.com/ISDK/AjaxV7 Within the section REST services - find a location by query... 在“ REST服务”部分中-通过查询找到位置...

Also this might help. 同样这可能会有所帮助。 http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/ http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/

For the Bing API you need to register to obtain a dev key. 对于Bing API,您需要注册以获得开发密钥。

Once you have a coordinate you have to play with pushpins . 一旦有了坐标,就必须使用pushpins Hope it helps. 希望能帮助到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM