Example for the integration of a MapBox GL JS map into OpenLayers 3.
See the mapbox-gl-js.js source to see how this is done.