![](/img/trans.png)
[英]WP7 Silverlight Bing Map - MapPolyline doesn't zoom or move with 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 中心變化”?
非常感謝。 擔
必應地圖控件公開ViewChangeStart
和ViewChangeEnd
,可用於檢測視圖更改的開始和結束。 您可以訂閱這些事件,獲取當前視圖並相應地查詢您的 API。
請參閱此處的文檔:
http://msdn.microsoft.com/en-us/library/microsoft.maps.mapcontrol.core.mapcore.viewchangeend.aspx
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.