{"_id":"ui-leaflet","_rev":"9-9b0778b515b83b1d1255b44635b7a824","name":"ui-leaflet","description":"ui-leaflet - An AngularJS directive to easily interact with Leaflet maps","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"org":"angular-ui","author":{"name":"https://github.com/angular-ui/ui-leaflet/graphs/contributors"},"name":"ui-leaflet","description":"ui-leaflet - An AngularJS directive to easily interact with Leaflet maps","version":"1.0.0","homepage":"http://angular-ui.github.io/ui-leaflet/","repository":{"type":"git","url":"git+https://github.com/angular-ui/ui-leaflet.git"},"keywords":["angularjs","javascript","directive","leaflet","angular-ui","cli"],"license":"MIT","devDependencies":{"grunt":"^0.4.5","grunt-angular-architecture-graph":"^0.2.6","grunt-bower-task":"^0.4.0","grunt-bump":"^0.3.0","grunt-concurrent":"^2.0.3","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-connect":"^0.11.2","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-contrib-watch":"^0.6.1","grunt-conventional-changelog":"^1.2.2","grunt-graphviz":"^0.1.1","grunt-karma":"^0.10.1","grunt-karma-coveralls":"^2.5.3","grunt-ng-annotate":"^1.0.1","grunt-open":"^0.2.3","grunt-protractor-runner":"^2.0.0","grunt-shell":"^1.1.2","grunt-shell-spawn":"^0.3.2","jasmine-core":"^2.2.0","jsdom":">= 0.1.23 < 4.0.0","karma":"0.12.32","karma-chrome-launcher":"^0.1.8","karma-coffee-preprocessor":"^0.2.1","karma-coverage":"^0.3.1","karma-firefox-launcher":"^0.1.4","karma-html2js-preprocessor":"^0.1.0","karma-jasmine":"^0.3.6","karma-mocha-reporter":"1.0.2","karma-phantomjs-launcher":"^0.1.4","karma-requirejs":"^0.2.2","karma-script-launcher":"^0.1.0","load-grunt-config":"^0.17.0","lodash":"^3.7.0","matchdep":"^0.3.0","mkdirp":"^0.5.0","protractor":"^2.0.0","q":"^1.2.0","requirejs":"^2.1.20","shelljs":"^0.4.0","yargs":"^3.29.0"},"scripts":{"test":"grunt travis --verbose","karmaChrome":"grunt test-unit-chrome","karmaChromeOnce":"grunt karma:unit-chrome-once"},"main":"dist/ui-leaflet.js","dependencies":{"angular":"1.x","angular-simple-logger":"~0.1.4","leaflet":"0.7.x"},"gitHead":"67e9dc28d9880a9091cbf7d42de259440e77ada9","bugs":{"url":"https://github.com/angular-ui/ui-leaflet/issues"},"_id":"ui-leaflet@1.0.0","_shasum":"739243f46e31b264a3f77e0becdae3fbd86d0d2f","_from":".","_npmVersion":"2.14.8","_nodeVersion":"0.12.7","_npmUser":{"name":"nmccready","email":"nemtcan@gmail.com"},"maintainers":[{"name":"nmccready","email":"nemtcan@gmail.com"}],"dist":{"shasum":"739243f46e31b264a3f77e0becdae3fbd86d0d2f","tarball":"https://registry.npmjs.org/ui-leaflet/-/ui-leaflet-1.0.0.tgz","integrity":"sha512-vzZJY25Gf0hAgoeYtbaNzsBgcBnzb+/1oBVdkrj6UK5o7V5/9LN0Y/FLiIIaAf8RIIroYijIZEnSfaSBYET4Kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3FavkXj5SZsCrQoXRP06FVib/ZHpGjz+hPVi3gIQ24QIgRDtkGwr3nYmMHrmRSkX+ysuI23Cf+dpoJhogIhf2UZc="}]}},"1.0.1":{"org":"angular-ui","author":{"name":"https://github.com/angular-ui/ui-leaflet/graphs/contributors"},"name":"ui-leaflet","description":"ui-leaflet - An AngularJS directive to easily interact with Leaflet maps","version":"1.0.1","homepage":"http://angular-ui.github.io/ui-leaflet/","repository":{"type":"git","url":"git+https://github.com/angular-ui/ui-leaflet.git"},"keywords":["angularjs","javascript","directive","leaflet","angular-ui","cli"],"license":"MIT","devDependencies":{"grunt":"^0.4.5","grunt-angular-architecture-graph":"^0.2.6","grunt-bower-task":"^0.4.0","grunt-bump":"^0.6.0","grunt-concurrent":"^2.0.3","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-connect":"^0.11.2","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-conventional-changelog":"^1.2.2","grunt-graphviz":"^0.1.1","grunt-karma":"2.X","grunt-karma-coveralls":"^2.5.3","grunt-ng-annotate":"^1.0.1","grunt-open":"^0.2.3","grunt-protractor-runner":"^2.0.0","grunt-shell":"^1.1.2","grunt-shell-spawn":"^0.3.2","jsdom":">= 0.1.23 < 4.0.0","karma":"0.X","karma-chrome-launcher":"^0.1.8","karma-coffee-preprocessor":"1.X","karma-coverage":"^0.5.3","karma-firefox-launcher":"^0.1.4","karma-html2js-preprocessor":"^0.1.0","karma-jasmine":"1.X","karma-mocha-reporter":"1.0.2","karma-phantomjs-launcher":"1.X","karma-requirejs":"^0.2.2","karma-script-launcher":"^0.1.0","load-grunt-config":"^0.17.0","lodash":"3.X.0","matchdep":"^1.0.0","mkdirp":"^0.5.0","protractor":"^2.0.0","q":"^1.2.0","requirejs":"^2.1.20","shelljs":"^0.5.3","yargs":"^3.29.0"},"scripts":{"test":"grunt travis --verbose","karmaChrome":"grunt test-unit-chrome","karmaChromeOnce":"grunt karma:unit-chrome-once"},"main":"dist/ui-leaflet.js","dependencies":{"angular":"1.x","angular-simple-logger":"~0.1.4","karma-coverage":"^0.5.3","leaflet":"0.7.x"},"gitHead":"7b6d83c6b3e1901e9ac1f9d838cc3861d23bc63a","bugs":{"url":"https://github.com/angular-ui/ui-leaflet/issues"},"_id":"ui-leaflet@1.0.1","_shasum":"6b5d84fb119ac8a3077c22bc941ff4fbb379a5a7","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.4","_npmUser":{"name":"nmccready","email":"nemtcan@gmail.com"},"maintainers":[{"name":"elesdoar","email":"elesdoar@gmail.com"},{"name":"nmccready","email":"nemtcan@gmail.com"},{"name":"zacronos","email":"joe@ibershoff.com"}],"dist":{"shasum":"6b5d84fb119ac8a3077c22bc941ff4fbb379a5a7","tarball":"https://registry.npmjs.org/ui-leaflet/-/ui-leaflet-1.0.1.tgz","integrity":"sha512-q7Kt5gUYr7o8t7wftdDT9oLh7IwnhO4zeCaq0ecY822xnVzjQOFV0IvRGs1JiTOrhaPh0xh/rOmftZpfTFFlYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWX47NQ5PC90EKJlvijwSl2c4u7wFgbQPg5Gd7N4y87AiEA9teZGfZ80TH1BbF/IgdXfvJkE/sw2TlUbzQtpDtMWh8="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ui-leaflet-1.0.1.tgz_1465392600337_0.528668703744188"}},"1.0.2":{"org":"angular-ui","author":{"name":"https://github.com/angular-ui/ui-leaflet/graphs/contributors"},"name":"ui-leaflet","description":"ui-leaflet - An AngularJS directive to easily interact with Leaflet maps","version":"1.0.2","homepage":"http://angular-ui.github.io/ui-leaflet/","repository":{"type":"git","url":"git+https://github.com/angular-ui/ui-leaflet.git"},"keywords":["angularjs","javascript","directive","leaflet","angular-ui","cli"],"license":"MIT","devDependencies":{"grunt":"^0.4.5","grunt-angular-architecture-graph":"^0.2.6","grunt-bower-task":"^0.4.0","grunt-bump":"^0.6.0","grunt-concurrent":"^2.0.3","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-connect":"^0.11.2","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-conventional-changelog":"^1.2.2","grunt-graphviz":"^0.1.1","grunt-karma":"2.X","grunt-karma-coveralls":"^2.5.3","grunt-ng-annotate":"^1.0.1","grunt-open":"^0.2.3","grunt-protractor-runner":"^2.0.0","grunt-shell":"^1.1.2","grunt-shell-spawn":"^0.3.2","jsdom":">= 0.1.23 < 4.0.0","karma":"0.X","karma-chrome-launcher":"^0.1.8","karma-coffee-preprocessor":"1.X","karma-coverage":"^0.5.3","karma-firefox-launcher":"^0.1.4","karma-html2js-preprocessor":"^0.1.0","karma-jasmine":"1.X","karma-mocha-reporter":"1.0.2","karma-phantomjs-launcher":"1.X","karma-requirejs":"^0.2.2","karma-script-launcher":"^0.1.0","load-grunt-config":"^0.17.0","lodash":"3.X.0","matchdep":"^1.0.0","mkdirp":"^0.5.0","protractor":"^2.0.0","q":"^1.2.0","requirejs":"^2.1.20","shelljs":"^0.5.3","yargs":"^3.29.0"},"scripts":{"test":"grunt travis --verbose","karmaChrome":"grunt test-unit-chrome","karmaChromeOnce":"grunt karma:unit-chrome-once"},"main":"dist/ui-leaflet.js","dependencies":{"angular":"1.x","angular-simple-logger":"~0.1.4","karma-coverage":"^0.5.3","leaflet":"0.7.x"},"gitHead":"e8f50b7d4f0dc05ca8ed04e8638ca1c6a751e011","bugs":{"url":"https://github.com/angular-ui/ui-leaflet/issues"},"_id":"ui-leaflet@1.0.2","_shasum":"bd6aec38be47285d336a70080924f03f616b8023","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.5.0","_npmUser":{"name":"nmccready","email":"nemtcan@gmail.com"},"maintainers":[{"name":"elesdoar","email":"elesdoar@gmail.com"},{"name":"nmccready","email":"nemtcan@gmail.com"},{"name":"zacronos","email":"joe@ibershoff.com"}],"dist":{"shasum":"bd6aec38be47285d336a70080924f03f616b8023","tarball":"https://registry.npmjs.org/ui-leaflet/-/ui-leaflet-1.0.2.tgz","integrity":"sha512-a2wmCDdVFTsr+ASo3v+L2hpPFTj7A6oqlyHM+qwBh0SnhyyShTDCCI93QxtLMIeH1JpwWR6SPjK4QuJOh/5YwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2qVewA9NGIev3C/TG3+n8du2FWe1hHTrNfnyCRd8yqAiEA43kA9IdjXdMMyKHM5HPqCPMWMWEKEGA+7B2kBue4jpY="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ui-leaflet-1.0.2.tgz_1474468019262_0.3655725712887943"}},"2.0.0":{"org":"angular-ui","author":{"name":"https://github.com/angular-ui/ui-leaflet/graphs/contributors"},"name":"ui-leaflet","description":"ui-leaflet - An AngularJS directive to easily interact with Leaflet maps","version":"2.0.0","homepage":"http://angular-ui.github.io/ui-leaflet/","repository":{"type":"git","url":"git+https://github.com/angular-ui/ui-leaflet.git"},"scripts":{"test":"grunt travis --verbose","karma":"karma start ./test/karma.conf.js"},"main":"dist/ui-leaflet.js","keywords":["angularjs","javascript","directive","leaflet","angular-ui","cli"],"license":"MIT","devDependencies":{"babel-preset-es2015":"^6.14.0","grunt":"~1.0.1","grunt-angular-architecture-graph":"^0.2.6","grunt-babel":"^6.0.0","grunt-bower-task":"^0.4.0","grunt-bump":"^0.8.0","grunt-concurrent":"2.x","grunt-contrib-clean":"^1.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-connect":"^1.0.2","grunt-contrib-jshint":"1.0.x","grunt-contrib-uglify":"^2.0.0","grunt-contrib-watch":"^1.0.0","grunt-conventional-changelog":"^6.1.0","grunt-graphviz":"^0.1.1","grunt-karma":"^2.0.0","grunt-karma-coveralls":"2.x","grunt-ng-annotate":"^2.0.2","grunt-open":"^0.2.3","grunt-protractor-runner":"2.x","grunt-shell":"~2.0.0","grunt-shell-spawn":"0.x","jasmine-core":"2.x","jsdom":"7.x","karma":"0.13.x","karma-chrome-launcher":"^0.x","karma-coffee-preprocessor":"^0.3.0","karma-coverage":"^0.5.3","karma-firefox-launcher":"0.x","karma-html2js-preprocessor":"^0.1.0","karma-jasmine":"^0.3.6","karma-mocha-reporter":"1.x","karma-phantomjs-launcher":"1.x","karma-requirejs":"^0.2.2","karma-script-launcher":"^0.1.0","load-grunt-config":"^0.x","lodash":"3.x","matchdep":"^1.0.0","mkdirp":"0.x","phantomjs-polyfill":"0.0.2","phantomjs-prebuilt":"^2.1.7","protractor":"2.x","q":"1.x","requirejs":"^2.1.20","shelljs":"^0.7.4","yargs":"^5.0.0"},"dependencies":{"angular":"1.x","angular-simple-logger":"0.1.x","leaflet":"0.7.x"},"gitHead":"ede6a6809f6619064b615b69adbc8cc3a7b94d9e","bugs":{"url":"https://github.com/angular-ui/ui-leaflet/issues"},"_id":"ui-leaflet@2.0.0","_shasum":"8ad1900624cf42f96ce2e5bfd8f34b14f4545440","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"elesdoar","email":"elesdoar@gmail.com"},"dist":{"shasum":"8ad1900624cf42f96ce2e5bfd8f34b14f4545440","tarball":"https://registry.npmjs.org/ui-leaflet/-/ui-leaflet-2.0.0.tgz","integrity":"sha512-qFAaNAMd1FPFdpd1EUh3Xvd6hGgOM2mS54zhdBvBFnz69IYt8czwR0wENaSV7Kj3q6vUtjwsBg/hDHiev5vGjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHz4VwaYfGAm/nfbcn3u0hFZ4r87y+mf2Hw8GaiFY4FwCIAuLgH1p/bCvzHhsu0m/ye7tDedv97Z1lfmJfoq8uxEN"}]},"maintainers":[{"name":"elesdoar","email":"elesdoar@gmail.com"},{"name":"nmccready","email":"nemtcan@gmail.com"},{"name":"zacronos","email":"joe@ibershoff.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ui-leaflet-2.0.0.tgz_1475628234000_0.6270942043047398"}},"1.0.3":{"org":"angular-ui","author":{"name":"https://github.com/angular-ui/ui-leaflet/graphs/contributors"},"name":"ui-leaflet","description":"ui-leaflet - An AngularJS directive to easily interact with Leaflet maps","version":"1.0.3","homepage":"http://angular-ui.github.io/ui-leaflet/","repository":{"type":"git","url":"git+https://github.com/angular-ui/ui-leaflet.git"},"keywords":["angularjs","javascript","directive","leaflet","angular-ui","cli"],"license":"MIT","devDependencies":{"grunt":"^0.4.5","grunt-angular-architecture-graph":"^0.2.6","grunt-bower-task":"^0.4.0","grunt-bump":"^0.6.0","grunt-concurrent":"^2.0.3","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-connect":"^0.11.2","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.10.0","grunt-contrib-watch":"^0.6.1","grunt-conventional-changelog":"^1.2.2","grunt-graphviz":"^0.1.1","grunt-karma":"2.X","grunt-karma-coveralls":"^2.5.3","grunt-ng-annotate":"^1.0.1","grunt-open":"^0.2.3","grunt-protractor-runner":"^2.0.0","grunt-shell":"^1.1.2","grunt-shell-spawn":"^0.3.2","jsdom":">= 0.1.23 < 4.0.0","karma":"0.X","karma-chrome-launcher":"^0.1.8","karma-coffee-preprocessor":"1.X","karma-coverage":"^0.5.3","karma-firefox-launcher":"^0.1.4","karma-html2js-preprocessor":"^0.1.0","karma-jasmine":"1.X","karma-mocha-reporter":"1.0.2","karma-phantomjs-launcher":"1.X","karma-requirejs":"^0.2.2","karma-script-launcher":"^0.1.0","load-grunt-config":"^0.17.0","lodash":"3.X.0","matchdep":"^1.0.0","mkdirp":"^0.5.0","protractor":"^2.0.0","q":"^1.2.0","requirejs":"^2.1.20","shelljs":"^0.5.3","yargs":"^3.29.0"},"scripts":{"test":"grunt travis --verbose","karmaChrome":"grunt test-unit-chrome","karmaChromeOnce":"grunt karma:unit-chrome-once"},"main":"dist/ui-leaflet.js","dependencies":{"angular":"1.x","angular-simple-logger":"~0.1.4","leaflet":"0.7.x"},"gitHead":"5efa2051010d9e57f7b8e74768337fa90c5ac509","bugs":{"url":"https://github.com/angular-ui/ui-leaflet/issues"},"_id":"ui-leaflet@1.0.3","_shasum":"bea43c6ac0eb8c468483cf72c5cefc34c7a37cf3","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"nmccready","email":"nemtcan@gmail.com"},"maintainers":[{"name":"elesdoar","email":"elesdoar@gmail.com"},{"name":"nmccready","email":"nemtcan@gmail.com"},{"name":"zacronos","email":"joe@ibershoff.com"}],"dist":{"shasum":"bea43c6ac0eb8c468483cf72c5cefc34c7a37cf3","tarball":"https://registry.npmjs.org/ui-leaflet/-/ui-leaflet-1.0.3.tgz","integrity":"sha512-Pr6/u5fdhCbvaDD10umuA1hK+YXKu934ee7X1BOFs97BEQ3grhoD5hc3s0V8b2Pn8jVR0aJinXkYSpu9ByLF0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9rvvJvDWP2roytwg/FgojOoaLkHV24D+4d9HmGvCTMAiEAyyfbqgrzbXkVsNEZleypom6Uej9479pVtNfdaVCTIM4="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ui-leaflet-1.0.3.tgz_1485447062374_0.3438308017794043"}}},"readme":"# Angular Leaflet\n\n![](https://cdn.rawgit.com/angular-ui/ui-leaflet/master/logo.svg)\n\n##Why the [fork](https://github.com/tombatossals/angular-leaflet-directive)?\n\nWhile we are grateful for all the original work at [tombatossals/angular-leaflet-directive](https://github.com/tombatossals/angular-leaflet-directive). We need to be able to operate as an organization to respond to issues, pull-requests and other various items quicker. We need to be able to add other developers as admins easier via group permissions via github orgs. Lastly this project needs to be more credible via being a group / org.\n\n## Goal\n\n[AngularJS](http://angularjs.org/) directive for the [Leaflet](http://www.leafletjs.com/) Javascript\nLibrary. This software aims to easily embed maps managed by Leaflet on your project.\n\n[![Join the chat at https://gitter.im/angular-ui/ui-leaflet](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/ui-leaflet?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n[![Build Status](https://travis-ci.org/angular-ui/ui-leaflet.png?branch=master)](https://travis-ci.org/angular-ui/ui-leaflet) [![Dependencies](https://david-dm.org/angular-ui/ui-leaflet.svg)](https://david-dm.org/angular-ui/ui-leaflet)&nbsp;\n[![Dependencies](https://david-dm.org/angular-ui/ui-leaflet/dev-status.svg)](https://david-dm.org/angular-ui/ui-leaflet) [![Coverage\nStatus](https://coveralls.io/repos/angular-ui/ui-leaflet/badge.png?branch=master)](http://angular-ui.github.io/ui-leaflet/coverage/PhantomJS%201.9.7%20%28Linux%29/lcov-report/dist/ui-leaflet.js.html)\n\n\n## Examples\n\n[Browse all the examples](http://angular-ui.github.io/ui-leaflet/examples/0000-viewer.html) added by the community to learn about the directive and its possibilities.\n\n## Documentation\n\nSee https://angular-ui.github.com/ui-leaflet\n\n## How to use it\n\nInclude [angular-simple-logger](https://github.com/nmccready/angular-simple-logger) before Angular-Leaflet js files. Logger gets installed as a requirement of Angular-Leaflet with `bower install` or `npm install`. Note if your using the browser to load it without CommonJS (browserify, webpack) please use angular-simple-logger.js (not index.js) .\n\nInclude the `ui-leaflet` dependency on your Angular module:\n```\nvar app = angular.module('demoapp', ['nemLogging','ui-leaflet']);\n```\n\nAfter that, you can change the default values of the directive on\nyour angular controller. For example, you can change the tiles source, the\nmaxzoom on the Leaflet map or the polyline path properties.\n\n```javascript\nangular.extend($scope, {\n    defaults: {\n        tileLayer: 'http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png',\n        maxZoom: 14,\n        path: {\n            weight: 10,\n            color: '#800000',\n            opacity: 1\n        }\n    }\n});\n```\n\nIf you want to set the start of the map to a precise position, you can define\nthe \"center\" property of the scope (lat, lng, zoom). It will be updated\ninteracting on the scope and on the leaflet map in two-way binding. Example:\n```javascript\nangular.extend($scope, {\n    center: {\n        lat: 51.505,\n        lng: -0.09,\n        zoom: 8\n    }\n});\n```\n\nIf you need to run any method on the map object, use `leafletData` as following (notice the map object is returned in a form of a promise):\n\n```javascript\nangular.module('myModule').controller('MapController', ['$scope', 'leafletData',\n    function($scope, leafletData) {\n        leafletData.getMap().then(function(map) {\n            L.GeoIP.centerMapOnPosition(map, 15);\n        });\n    }\n]);\n```\n\nFinally, you must include the markup directive on your HTML page:\n```html\n<leaflet defaults=\"defaults\" lf-center=\"center\" height=\"480px\" width=\"640px\"></leaflet>\n```\n\nIf you want to have more than one map on the page and access their respective map objects, add an *id* attribute to your leaflet directive in HTML:\n\n```html\n<leaflet id=\"mymap\" defaults=\"defaults\" lf-center=\"center\" height=\"480px\" width=\"640px\"></leaflet>\n```\n\nAnd then you can use this id in `getMap()`:\n\n```javascript\nangular.module('myModule').controller('MapController', ['$scope', 'leafletData',\n    function($scope, leafletData) {\n        leafletData.getMap('mymap').then(function(map) {\n            L.GeoIP.centerMapOnPosition(map, 15);\n        });\n    }\n]);\n```\n","maintainers":[{"name":"elesdoar","email":"elesdoar@gmail.com"},{"name":"nmccready","email":"nemtcan@gmail.com"},{"name":"zacronos","email":"joe@ibershoff.com"}],"time":{"modified":"2022-06-28T03:18:49.941Z","created":"2015-10-29T21:57:19.915Z","1.0.0":"2015-10-29T21:57:19.915Z","1.0.1":"2016-06-08T13:30:02.338Z","1.0.2":"2016-09-21T14:27:01.694Z","2.0.0":"2016-10-05T00:43:56.138Z","1.0.3":"2017-01-26T16:11:03.128Z"},"homepage":"http://angular-ui.github.io/ui-leaflet/","keywords":["angularjs","javascript","directive","leaflet","angular-ui","cli"],"repository":{"type":"git","url":"git+https://github.com/angular-ui/ui-leaflet.git"},"author":{"name":"https://github.com/angular-ui/ui-leaflet/graphs/contributors"},"bugs":{"url":"https://github.com/angular-ui/ui-leaflet/issues"},"license":"MIT","readmeFilename":"README.md"}