angular-heremaps

Angular directive for working with Nokia Here Maps


Keywords
heremaps, here maps, javascript, angular, nokia, angular-heremaps, angularjs, here
License
MIT
Install
npm install angular-heremaps@0.1.9

Documentation

Build Status Code Climate npm version

angular-heremaps

Live demo https://dverbovyi.github.io/angular-heremaps/

AngularJS directive for working with Nokia Here Maps

0.1.9 latest release

see release notes

Install guide:

    npm install angular-heremaps
include angular-heremaps file
    <script src="/node_modules/angular-heremaps/dist/angular-heremaps.min.js" type="text/javascript"></script>
add dependency in your angular application
    angular.module('exampleModule', ['heremaps'])
add config provider:

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
            });
        }]);

Simple directive initialization with default options.

        <div heremaps></div>

See details on wiki pages

Please report, any issue here

To Contribute

Fork and clone the project

    git clone https://github.com/{{username}}/angular-heremaps.git

and make pull request

Install dependencies

    cd angular-heremaps

    npm i

Start dev-server

    gulp serve

Build resources

    gulp build