1

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

Screenshots below.

Any help.

Thanks in advance!

Project 1 Nokia Maps

MainPage

Memory usage

Map page

enter image description here

After go away from map

enter image description here

Project 2 Old Bing maps

enter image description here

enter image description here

enter image description here

enter image description here

After go away from map

enter image description here

4

2 回答 2

1

我不知道这是否可以帮助你,但我发现了这个

仅供参考:对于 Windows Phone 8 地图控件,您需要使用 Microsoft.Phone.Maps.Controls 中的 TileSource 类。(即 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

于 2013-07-13T14:24:03.527 回答
0

您可以显示静态地图,为此使用 Jeff Wilcox 库。在这里查看http://www.jeff.wilcox.name/2012/01/jeffwilcox-maps/

于 2013-06-10T17:27:44.433 回答