Hello Nikkoli,
Hope you're doing well.
Did you take a look at this Forge component?
https://www.outsystems.com/forge/component-overview/8382/mapbox
The component has a demo, maybe it can help you understanding how it works :)
Hope that this helps you!
Kind regards,
Rui Barradas