windows phone 8 旧地图 vs 新地图 [英] windows phone 8 old map vs new map

查看:38
本文介绍了windows phone 8 旧地图 vs 新地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个 WP8 项目.这是带地图的项目.第一个项目使用新的 Nokia 地图,第二个项目使用旧的 Bing 地图.我注意到旧地图的不当行为.它们消耗大量内存,当我离开地图时,内存不会被释放.在 WP7 Bing maps 表现不同,它消耗了尽可能多的 RAM 内存,但是当我离开地图时,内存立即被释放.怎么回内存,老图有大问题,我的项目超过了90Mb的限制..

I have a two WP8 projects. This is projects with map. First project with new Nokia maps and second project with old Bing maps. I noticed inappropriate behavior of old maps. They consume large amounts of memory, and when I go away from the maps then the memory is not freed. In WP7 Bing maps behave differently, it spent as much RAM memory, but when I go away from the map, the memory is immediately freed. How can I return the memory, I have a big problem with old maps, I exceed the limit of 90 Mb in my project ..

截图如下.

任何帮助.

提前致谢!

Project 1 诺基亚地图

离开地图后

Project 2 Old Bing 地图

离开地图后

推荐答案

我不知道这是否对您有帮助,但我找到了这个

I dunno if this could be help you but I found this

仅供参考:对于 Windows Phone 8 地图控件,您需要使用 Microsoft.Phone.Maps.Controls 中的 TileSource 类.(即 Microsoft.Phone.Maps.Controls.TileSource)

FYI: For Windows Phone 8 map control you need to use the TileSource class from Microsoft.Phone.Maps.Controls. (i.e. Microsoft.Phone.Maps.Controls.TileSource)

这里:http://social.msdn.microsoft.com/Forums/wpapps/en-US/66512153-06d0-4269-996a-b4b7e5f995de/windows-phone-8-api-for-open-street-map-osm

这篇关于windows phone 8 旧地图 vs 新地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆