function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Lightning Component Bing Map


I want to use  Microsoft Bing Map in a Lightning App.
I get CORS  issue :
Access to XMLHttpRequest at ',nj/0ba6db4b/2acb1961.js?bu=B-8EgQWfBaEF4QSkBfQE' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 
 But  the I enter the Entpoint in CORS section.
Naveen KNNaveen KN
Hi Chrisx, Based on the above error i assume that you are calling api directly from the lightning component. If that is the case we have restrictions in the lightning component, you need to invoke apex from lightning controller JS and from apex make api calls. 

Ramanjaneya Reddy kalutlaRamanjaneya Reddy kalutla

Hi Chrisx,
Could you please tell me how did you integrated bing maps in LWC/aura components, actually we are also trying to do the bing map integration in lightning web componets. Your answer would be a great help for us. Thank you.