Live demo https://dverbovyi.github.io/angular-heremaps/
AngularJS directive for working with Here Maps
npm install angular-heremaps
<script src="/node_modules/angular-heremaps/dist/angular-heremaps.min.js" type="text/javascript"></script>
angular.module('exampleModule', ['heremaps'])
Before, you should register here and get your app id. Then pass it below
angular.module('exampleModule')
.config(["HereMapsConfigProvider", function(HereMapsConfigProvider) {
HereMapsConfigProvider.setOptions({
'app_id': 'your_app_id_here',
'app_code': 'your_app_code_here',
'useHTTPS': true
});
}]);
<div heremaps></div>
See details on wiki pages
Please report, any issue here
git clone https://github.com/{{username}}/angular-heremaps.git
and make pull request
cd angular-heremaps
npm i
gulp serve
gulp build