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

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

问题描述

我有两个WP8项目.这是带有地图的项目.具有新Nokia maps的第一个项目和具有旧Bing maps的第二个项目.我注意到旧地图的不当行为.它们消耗大量内存,当我离开地图时,内存不会释放.在WP7 Bing maps中,行为有所不同,它花费了尽可能多的RAM内存,但是当我离开地图时,该内存立即被释放.我该如何返回内存,旧地图有很大问题,我的项目超出了90 Mb的限制..

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 ..

下面的屏幕截图.

任何帮助.

提前谢谢!

项目1诺基亚地图

离开地图后

投影2张旧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)

此处: 查看全文

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