簡體   English   中英

WP7 在滾動時更新 bing map

[英]WP7 updating bing map as you scroll along

I use an iphone app which displays points on a map from an api depending on the maps location, when you move the map, the map updates and re-queries the api after a couple of seconds. 如何在 bing 地圖和 WP7 上實現“檢測 map 中心變化”?

非常感謝。

必應地圖控件公開ViewChangeStartViewChangeEnd ,可用於檢測視圖更改的開始和結束。 您可以訂閱這些事件,獲取當前視圖並相應地查詢您的 API。

請參閱此處的文檔:

http://msdn.microsoft.com/en-us/library/microsoft.maps.mapcontrol.core.mapcore.viewchangeend.aspx

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM