google-maps-ng2
Installation
To install this library, run:
$ npm install google-maps-ng2 --save
Then in your main app module (or common module shared with other modules in project) add:
;;
optionally, you can set different google maps api loader using OpaqueToken LAZY_LOADER_OPTIONS. Simple register your loader service as provider with this OpaqueToken key
Markers Example
;;
Development
To generate all *.js
, *.js.map
and *.d.ts
files:
$ npm run tsc
To lint all *.ts
files:
$ npm run lint
License
MIT © Milan Jarić