An AngularJS directive for Mapbox GL
npm install angular-mapboxgl-directive
NPM
``shell`
npm install angular-mapboxgl-directive --save
Bower
`shell`
bower install angular-mapboxgl-directive --save
Include the files in your index.html:`html
`
Or you can include them from CDN:
`html
`
Add mapboxgl-directive module in your AngularJS project:`javascript`
var app = angular.module('YourProject', ['mapboxgl-directive']);
`html``
orhtml`
`html`
`
orhtml`
Install dependencies, build the source files and preview
`shell``
git clone https://github.com/Naimikan/angular-mapboxgl-directive.git
npm install & bower install
grunt & grunt preview
[npm-image]: https://img.shields.io/npm/v/angular-mapboxgl-directive.svg?style=flat-square
[bower-image]: https://img.shields.io/bower/v/angular-mapboxgl-directive.svg?style=flat-square
[license-image]: https://img.shields.io/npm/l/angular-mapboxgl-directive.svg?style=flat-square
[codeclimate-image]: https://codeclimate.com/github/Naimikan/angular-mapboxgl-directive/badges/gpa.svg
[npm-url]: https://www.npmjs.com/package/angular-mapboxgl-directive
[bower-url]: https://bower.io/search/?q=angular-mapboxgl-directive
[codeclimate-url]: https://codeclimate.com/github/Naimikan/angular-mapboxgl-directive