Forums - C# Corner

Forum guidelines
Rp Singh

Rp Singh

  • 1.4k
  • 98
  • 7.1k

Google maps api integration

Feb 6 2018 4:48 AM
Hi,
 
i am getting this response when i am trying to plot a graph.
  1. BrowserPolicy.framing.disallow();  
  2. BrowserPolicy.content.disallowInlineScripts();  
  3. BrowserPolicy.content.disallowEval();  
  4. BrowserPolicy.content.allowInlineStyles();  
  5. BrowserPolicy.content.allowFontDataUrl();  
  6. var trusted = [  
  7. *.google-analytics.com'  
  8. ];  
  9. _.each(trusted, function(origin) {  
  10. origin = "https://" + origin;  
  11. BrowserPolicy.content.allowOriginForAll(origin);  
  12. });  
  13. BrowserPolicy.content.allowOriginForAll('*.googleapis.com');  
  14. BrowserPolicy.content.allowOriginForAll('*.gstatic.com');  
  15. BrowserPolicy.content.allowEval('https://ajax.googleapis.com');  
please help if you know this.

Answers (1)