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.
我正在我的 Windows Phone 应用程序中使用地图控件。设置两点之间的路线后,地图控制自动放大。如何实现设置死记硬背后不放大?
您应该只禁用地图控件,如下所示:
map1.IsEnabled = false;
我希望你不能。
地图控件在平移和四处移动时会自动调整缩放级别,除了跟踪原始缩放级别并在控件完成操作后重置它之外,我还没有找到解决此问题的方法。