• Vinod Merwade27
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
Hi All,

I'm trying to integrate Google map API into Lightning component. 
I'm getting error in console.

aura_proddebug.js:13440 Refused to connect to 'http://maps.googleapis.com/maps/api/geocode/json?latlng=12.9715987,77.5945627&sensor=true' because it violates the following Content Security Policy directive: "connect-src 'self' 

Please let me know how to get over this error ?

Does Lightning allow Google API's to be integrated. ?

Thanks,
Vinod 
Hi All,

I'm using custom Lookup lightning component which uses RequireJS, this is working smoothly, untill we have Locker Service deactivated. Once the Service is Activated it is throwing an Exception message as "Something has gone wrong. Error in $A.getCallback() [ReferenceError: define is not defined] Failing descriptor: {markup://c:CustomLookupComp}. Please try again.". Whereas define is defined already in teh RequireJS by default.

I have also refered some sites, where they mention to use the commments in the function to let the Aura to identify the variable/element.
http://jshint.com/docs/  
/* globals define */

Still No luck on this.

please let me know if you have any solution or alternative for this ?

Thanks

 
Does Lightning components built using material Design work with Salesforce 1 mobile App.

App is getting freezed when custom pages are opened.
Hi All,

I'm using custom Lookup lightning component which uses RequireJS, this is working smoothly, untill we have Locker Service deactivated. Once the Service is Activated it is throwing an Exception message as "Something has gone wrong. Error in $A.getCallback() [ReferenceError: define is not defined] Failing descriptor: {markup://c:CustomLookupComp}. Please try again.". Whereas define is defined already in teh RequireJS by default.

I have also refered some sites, where they mention to use the commments in the function to let the Aura to identify the variable/element.
http://jshint.com/docs/  
/* globals define */

Still No luck on this.

please let me know if you have any solution or alternative for this ?

Thanks