问题
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




After go away from map

Project 2 Old Bing maps




After go away from map

回答1:
I dunno if this could be help you but I found this
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)
here : http://social.msdn.microsoft.com/Forums/wpapps/en-US/66512153-06d0-4269-996a-b4b7e5f995de/windows-phone-8-api-for-open-street-map-osm
回答2:
You can display static maps, use Jeff Wilcox library for such purpose. Check it here http://www.jeff.wilcox.name/2012/01/jeffwilcox-maps/.
来源:https://stackoverflow.com/questions/15876001/windows-phone-8-old-map-vs-new-map