Permalink
Browse files

Step 17.6: Import google maps module

1 parent c7c06c0 commit 0f22afb3f828ebfb6a01311b0507385cd3cba568 @dotansimha dotansimha committed with DAB0mB Sep 27, 2016
Showing with 5 additions and 1 deletion.
  1. +5 −1 client/imports/app/app.module.ts
@@ -4,6 +4,7 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { AccountsModule } from 'angular2-meteor-accounts-ui';
import { Ng2PaginationModule } from 'ng2-pagination';
+import { AgmCoreModule } from 'angular2-google-maps/core';
import { AppComponent } from './app.component';
import { routes, ROUTES_PROVIDERS } from './app.routes';
@@ -17,7 +18,10 @@ import { SHARED_DECLARATIONS } from './shared';
ReactiveFormsModule,
RouterModule.forRoot(routes),
AccountsModule,
- Ng2PaginationModule
+ Ng2PaginationModule,
+ AgmCoreModule.forRoot({
+ apiKey: 'AIzaSyAWoBdZHCNh5R-hB5S5ZZ2oeoYyfdDgniA'
+ })
],
declarations: [
AppComponent,

0 comments on commit 0f22afb

Please sign in to comment.