Angular 2 components for mapbox-gl
Angular2 components for mapbox-gl. This project is currently in development state. Please do not use this in production.
npm install --save angular2-mapbox
Inside your @NgModule, add the MapBoxModule along with your API key for Mapbox (you can grab one here):
Now added the map for mapbox-gl and angular2-mapbox in your system.config.js
Lastly, we need to include the mapbox-gl css file. You can do this via @import or including it as a stylesheet in your HTML.
Now you can start using the angular2 mapbox components.