Necessitates Proper Modularity
Miss any of our Open RFC calls?Watch the recordings here! »

angular-mapboxgl-directive

0.46.0 • Public • Published

version bower version cdnjs version codeclimate license

mapboxgl

NPM

npm install angular-mapboxgl-directive --save

Bower

bower install angular-mapboxgl-directive --save
mapboxgl

Include the files in your index.html:

<link href="angular-mapboxgl-directive.css" rel="stylesheet" />
 
<script src="angular-mapboxgl-directive.min.js"></script>

Or you can include them from CDN:

<link href="https://cdnjs.cloudflare.com/ajax/libs/angular-mapboxgl-directive/X.X.X/angular-mapboxgl-directive.min.css" rel="stylesheet" />
 
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-mapboxgl-directive/X.X.X/angular-mapboxgl-directive.min.js"></script>

Add mapboxgl-directive module in your AngularJS project:

var app = angular.module('YourProject', ['mapboxgl-directive']);
mapboxgl
mapboxgl
<mapboxgl></mapboxgl>

or

<div mapboxgl></div>
mapboxglCompare
<mapboxgl-compare>
   <mapboxgl></mapboxgl>
   <mapboxgl></mapboxgl>
</mapboxgl-compare>

or

<div mapboxgl-compare>
   <div mapboxgl></div>
   <div mapboxgl></div>
</div>

Developing

Install dependencies, build the source files and preview

git clone https://github.com/Naimikan/angular-mapboxgl-directive.git
npm install & bower install
grunt & grunt preview

Install

npm i angular-mapboxgl-directive

DownloadsWeekly Downloads

133

Version

0.46.0

License

MIT

Unpacked Size

2.93 MB

Total Files

71

Last publish

Collaborators

  • avatar