How to make OneTrust and Google Maps to work nicely
The company I work for uses OneTrust to handle GDPR. I have the task to make a google map show up. I have had issues making the https://maps.googleapis.com/maps/api
script tag to work as I wanted to use a library. Anyway I got it working by adding the attribute data-ot-ignore
to the script
tag. But now the maps thing is not calling my back end to get the layers I need to put on top of the map. I have an API that I call and it works fine in a local, contrived sample but once it’s on the full blown test environment it just won’t call my API to get the layers
How to make OneTrust and Google Maps to work nicely
The company I work for uses OneTrust to handle GDPR. I have the task to make a google map show up. I have had issues making the https://maps.googleapis.com/maps/api
script tag to work as I wanted to use a library. Anyway I got it working by adding the attribute data-ot-ignore
to the script
tag. But now the maps thing is not calling my back end to get the layers I need to put on top of the map. I have an API that I call and it works fine in a local, contrived sample but once it’s on the full blown test environment it just won’t call my API to get the layers