23. března 2012 1:44
I am doing some work with Bing Maps and have encountered an issue with so far all map entities I have tested with, not being drawn onto the map when they are panned into view until the map has stopped moving.
To mitigate the effect of this issue I have removed inertia from the map so that objects are drawn in as soon as a user releases the mouse, how it is still very noticeable when zoomed in and panning about a map that has lines and pushpins showing various points of interest on the map. The quantity of pins and lines does not make any noticeable difference in the environments I have tested.
You can easily reproduce this issue with all major browsers on this demo page http://www.bingmapsportal.com/ISDK/AjaxV7#Shapes9 If you pan the map so that half the polygon is off the screen and make sure that the map has stopped moving and then slowly without releasing the mouse or stopping movement pan the object back into view the off-screen half of the polygon will not appear until the panning motion stops. Further, you can also rapidly pan back and forth and with the inertia setting that is enabled, whatever part (or all) of the polygon that was off-screen will not be redrawn until the map ceases motion.
Is there a work around for this problem or is it something that is planned to be fixed in the near future? This gives these maps which are otherwise fairly robust a very finicky feel in comparison with Google Maps.
Thank you for any information.
23. března 2012 9:27VlastníkWhat browser are you using? I've tried 5 different browsers and am unable to reproduce the issue you are describing. Personally I have designed applications that do what you describe (hide shapes when panning and zooming) so I could handle large data sets easier but this is not something that it built into the map control.
23. března 2012 14:55
I have tested the case in:
- Mac / Chrome
- Mac / Safari
- Windows / Chrome
- Windows / Firefox
- Seems to be OK in Windows XP / Internet Explorer 8
- Linux / Chrome
- Linux / Firefox
Also, as mentioned the problem is not only present with large datasets. The link I posted features a very simple polygon which exhibits the behaviour I described.
I will do some more testing with Windows 7 and IE 9 / 10.
- Upravený alex pilon 23. března 2012 15:03
23. března 2012 15:46VlastníkI've tested the link you pointed to in IE 7/8/9, FireFox and Chrome all on Windows 7 and am unable to reproduce the issue you are reporting. I've even had others try to reproduce this issue and have yet to find anyone else who has.
23. března 2012 16:16
It looks OK on all versions of IE on XP and Win7 (we'll assume Vista at parity with Win7), however there is most definitely a problem in Firefox / Chrome on Windows and Mac (and Linux, although I don't expect support for that platform) and Safari on Mac.
So to reiterate:
- Windows/Mac: Firefox - Exhibits the issue
- Windows/Mac: Chrome - Exhibits the issue
I am testing these browsers with a copy of Windows running in a virtual machine, however I have had a coworker running Windows as a base OS reproduce this issue in the browsers I have mentioned.
Can you describe how you are attempting to reproduce the issue? Is there something I can do to help you discover it?
23. března 2012 23:57Moderátor
I can reproduce this behavior in Chrome and Firefox on Windows 7.
I've already noticed this behavior in the Ajax V7.
For Ricky, here is a screenshot while respecting the scenario described by Alex:
From my point, you can't avoid that from a developer perspective since it the internal rendering of elements within the Bing Maps AJAX V7 control.
MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/
25. března 2012 10:32VlastníkOdd. It works in every browser I try and on every computer I try.
25. března 2012 16:28Moderátor
I can also reproduce the behaviour described in Firefox 10.0.2/Chrome 17.0.963.83 m under Win7 64-bit. IE seems fine.
twitter: @alastaira blog: http://alastaira.wordpress.com/
26. března 2012 14:00Have you tried loading a stock windows7 virtual machine and trying it there? Do you need any more information on the system specs or anything to find a differentiating factor?
26. března 2012 15:37VlastníkI haven't been able to reproduce it in the interactive SDK but I have managed to reproduce it in a seperate app in IE. This also appears to happen with Pushpins too. I suspect this an added clipping logic to help with performance.
26. března 2012 17:24
Yeah, it seems to happen with just about any drawn entity. Do you have an idea about a solution? Is there anything I might be able to do in my implementation or is it something you guys can handle on your end?
27. března 2012 8:28VlastníkOur development team is looking into this.
27. března 2012 13:03
Great thanks Richard. I'm looking forward to an update :)
3. dubna 2012 14:17
Is there any news regarding this problem?
3. dubna 2012 14:46VlastníkThere has been no releases since this issue has came up so there is no fixed release. The earliest this would be fixed would be in the next release. Release dates are not publically announced ahead of time. If you have an enterprise account it is best to contact the Bing Maps support team as they will be able to track this issue for you.
25. dubna 2012 14:10Any more news about this?
22. října 2012 12:49Vlastník
I'm unable to reproduce this issue anymore. I believe the development team has disabled the clipped functionality by default now.
31. října 2012 18:16
Chrome 22.0.1229.94 m (Windows 7), Bing maps version 7.0.20121012100453.93: