[MapBox] Error using Mapbox forge component - MapBoxGl not defined
map-box
Reactive icon
Forge component by Diogo Nunes
Application Type
Reactive

Hi,

Using the Mapbox forge component for the first time in my mobile app and I keep getting the following error:

"MapBoxGl not defined"


We are running the the outsystems cloud enterprise environment so I suspect the issue is related to the CSP document since I get the same error when I run the demo version of the component as well.  The demo version does work on my personal environment but not the enterprise environment.


I have added "*mapbox.com" to the script-src and style-src element of the CSP document but was wondering of I need to include it somewhere else?

Has anyone come across this before?

Thanks in advance.
David

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.