Bing Maps unclear block issue

Source: Internet
Author: User

Original article: http://social.msdn.microsoft.com/Forums/en-US/vemapcontroldev/thread/63a1e3c1-0da5-4030-b013-317fac93a55d

 

Thanks hemanth, after a bit of effort I cocould find the fix.

Firstly my issue is similar to the one described on this http://social.msdn.microsoft.com/Forums/en/iewebdevelopment/thread/db34068c-5307-4ab7-be03-15b86c2604bb

The first version of IE 8 had this issue. thats why this was not noticed in testing phase. people who never took updates of IE 8 only experience this issue. hot fix is to take an IE update. but, that does not work with for all our clients. we needed some fix that works without IE 8 Update.

1) We had to rewrite some code where we delay loading the map. [It was in document. Ready, we moved it to window. Load]

2) We had to move jquery plugins to the last line

Hope this explains. Thanks a lot.

 

Bingmaps is used in the project. Because of the dynamic and high design, unclear blocks may appear in the high resolution.

I began to suspect that it was a map object operation problem.

It is also found that this problem does not occur in chrome.

It is also found that there is no blocks problem when you click Close after a certain period of time after the error box pops up.

I doubt the loading time.

We use jquery $ (function () {... code }});

Initialize and modify it

Window. load = function (){....}

However, this will affect the original load event.

Therefore

Addcustomloadevent (fun ){

VaR oldonload = Window. onload;

If (typeof window. onload! = 'Function '){

Window. onload = fun;

} Else {

Window. onload =

Function (){

Oldonload ();

Fun ();

}

}

}

Addcustomloadevent (FunX );

 

And then test, then OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.