Issue
As an Appsmith user, I am having trouble accessing other maps, specifically Mapbox. Appsmith doesn't currently support Mapbox and although I can use Javascript, I am unable to access the global document object within Appsmith. However, I can write Javascript within JsObjects in Appsmith.
Resolution
If you're looking to use Mapbox within Appsmith, it is currently not supported. However, there is a feature request opened on GitHub for better mapping widgets, so you can upvote and add your use case to help move it up the priority list.
If you want to use Javascript within Appsmith, you can write it within JsObjects. However, you won't be able to access the global document object as Appsmith doesn't currently support it. You can refer to the Appsmith documentation on how to use Javascript objects within Appsmith.