[mapguide-users] MapGuide, Google and Content Security Policies

pierre.cardinal at sympatico.ca pierre.cardinal at sympatico.ca
Thu Nov 17 09:31:56 PST 2022


Hi David,

  

I don't know if it is a solution for you but, to solve my problem with Streetview, I add my Google Maps API key in the file ..\Web\www\fusion\widgets\GoogleStreetViewer\GoogleStreetView.templ 





Regards,





Pierre

  

From: mapguide-users <mapguide-users-bounces at lists.osgeo.org> On Behalf Of David Bowen
Sent: Thursday, November 17, 2022 8:45 AM
To: MapGuide Users Mail List <mapguide-users at lists.osgeo.org>
Subject: [mapguide-users] MapGuide, Google and Content Security Policies

  

It appears that as of Google Maps v3.50, support for the Maps JavaScript API Streetview has been removed unless the website contains the googleapis.com <http://googleapis.com>  domain in the Content Security Policy settings (Please see https://developers.google.com/maps/documentation/javascript/releases under release 3.50.1). Does anyone have experience setting up CSPs in MapGuide? We're unable to remove Streetview from our application so will need to find a way to establish this.

  

Thanks,

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20221117/96e0029b/attachment.htm>


More information about the mapguide-users mailing list