none
BingMaps v8 CORS issue with IE11 edge RRS feed

  • Question

  • I have been searching for a workaround all day and I could not find the same exact problem that I find with the new bingmaps v8 library.

    So I have bingmaps v8 and a tile service all set up on my system and it works well for all browsers, except on IE 11 Edge. It actually even works with IE 10 and older..

    Also the strange thing is that when scrolling in and out the map control it loads my tilelayer images fine. It only fails after I use setVisibility on my tilelayer, false and true again and then it fails downloading some of the tiles, giving me aborted calls to my service.

    Also another question is - why is it reloading my TileSource image all together when all I am doing is toggling the visibility of my tilelayer ? It was not the case with bingmaps v7, I used to be able to just hide and show my tilelayer and I never seen calls reappearing in the network section.. this must be a new "feature" of the v8 maps.. 


    Please advise, thank you.

    Monday, May 22, 2017 6:52 AM

Answers

  • This should be resolved. Bing Maps V8 used to enable COR's on tile layers by default as this provides the ability to do some additional things with the data, however, it requires your tile server to have COR's enabled. V8 has now reverted this and has added an optional map option to enable CORs (map option currently in experimental branch and will be in main release branch in a couple of weeks).

    [Blog] [twitter] [LinkedIn]

    Thursday, August 24, 2017 6:46 PM

All replies

  • Monday, May 22, 2017 6:56 AM
  • This should be resolved. Bing Maps V8 used to enable COR's on tile layers by default as this provides the ability to do some additional things with the data, however, it requires your tile server to have COR's enabled. V8 has now reverted this and has added an optional map option to enable CORs (map option currently in experimental branch and will be in main release branch in a couple of weeks).

    [Blog] [twitter] [LinkedIn]

    Thursday, August 24, 2017 6:46 PM