@ng-maps/google
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

@ng-maps/google

@ng-maps/google is a simple, modular and tree-shakable library for displaying google-maps inside an angular application

Installation

  • Npm: npm install @ng-maps/google
  • Yarn: yarn add @ng-maps/google

Then you will need to install typings for google maps as a dev dependency

  • Npm: npm install -D @types/google.maps
  • Yarn: yarn add -D @types/google.maps

Add NgMapsGoogleModule to your AppModule.

Provide your API key with the token provider

{
  provide: GOOGLE_MAPS_API_CONFIG,
  useValue: {
    apiKey: 'YOUR_API_KEY'
  }
}

Package Sidebar

Install

npm i @ng-maps/google

Weekly Downloads

2,500

Version

6.0.0

License

MIT

Unpacked Size

289 kB

Total Files

34

Last publish

Collaborators

  • dasch