开发者

Windows phone, poor performances in bing map

开发者 https://www.devze.com 2023-04-12 15:32 出处:网络
I have a pivot windows phone 7 app on whichthere is a bing map with 300 pushpins. When th开发者_JS百科e user tries to pinch the map, the refresh time in my Lg optimus7 is really long and performances

I have a pivot windows phone 7 app on which there is a bing map with 300 pushpins. When th开发者_JS百科e user tries to pinch the map, the refresh time in my Lg optimus7 is really long and performances are poor. Is there anything i can do to solve the problem or 300 pins are a number to avoid and i need to find another solution?


One of the design guidelines states that you shouldn't use a Bing Map Control on a Pivot nor on a Panorama Control. This is due to the fact that both controls respond to touch and tend to interfere with each other. See: Map inside Panorama moves the panorama when panning map

So my solution was to move the map to a single page/form. Others have suggested (just google for those) to disable hittest on the map (making it read-only) but I do not like the messing with expected behavior.

300 pushpins might be a problem too but by (temporarily) moving the map to a separate form you will be able to find out what is slowing it down.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号