Skip to Content
May 29, 2019 at 08:22 AM

How to use Mapbox-gl in SAPUI5


After reading a guideline blog in community about integrate Google Map with SAPUI5, I just edit some keyword from Google map to mapbox and tried in the same way and failed. I found the controller file could not read the mapbox-gl successfully so that the object called 'mapboxgl' always to be undefined.

I think the problem is in mapbox-gl.js file. Because it isn't a normal SAPUI5 js file begin as sap.ui.define().