Share via

Replace Bing.Map with sdk.virtualearth.com

Anonymous
2023-06-12T04:49:57+00:00

As we have embedded the bing maps for the ImagineCup application (winners page) there is a cookie compliance issue with SRCHHPGUSR cookie and to resolve the same, we have tried replacing the bing.com with sdk.virtualearth.net, but facing the console errors in the browser as below, due to this the functionality is getting impact as while switching the years, the required images were not rendering properly. This is intermittently happening in chrome browser, but consistently on the edge browser. Please suggest or provide inputs to resolve this issue.

Console Error:

Uncaught TypeError: t.getVisible is not a function

at n.\_removeElementsForLayer (nQgMOPZdJeR1m7Y1cRrRoyX1KEQ.br.js:1:62541)

at n.\_onLayerUpdated (nQgMOPZdJeR1m7Y1cRrRoyX1KEQ.br.js:1:62955)

at Array.<anonymous> (nQgMOPZdJeR1m7Y1cRrRoyX1KEQ.br.js:1:60579)

at n.invoke (lJyJE6Cy1JHYRCL97R2dw9U8L3Y.br.js:1:51893)

at e (lJyJE6Cy1JHYRCL97R2dw9U8L3Y.br.js:1:90481)

at t.y [as setVisible] (lJyJE6Cy1JHYRCL97R2dw9U8L3Y.br.js:1:90582)

at HeroMap.showLayers (HeroBingMap.js?v=638219470900000000:573:35)

at window.YearSlider.FocusSelectedYearCallback (winners:910:36)

at YearSlider.YearSlider.focusSelectedYear (YearSlider.js?v=638219470900000000:71:20)

at HTMLAnchorElement.<anonymous> (YearSlider.js?v=638219470900000000:43:28)
Bing | Other
Bing | Other

Miscellaneous topics that do not fit into specific categories.

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

paulr0511 45,605 Reputation points Independent Advisor
2023-06-12T05:21:34+00:00

Good day Prabhakaran! I am glad to be able to provide assistance to you today. I would suggest to post this query to our neighbor forum from the link below as this is best suited in there. They are more oriented on with regards to this type queries/issues and they will be able to fulfill your query as we are more of home/personal consumer based forum.

https://learn.microsoft.com/en-us/answers/

Regards,

Paul R.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful