Skip to content

Commit 3a13fb1

Browse files
dotansimhadarkbasic
authored andcommitted
Step 12.3: Import google maps module
1 parent e1fc472 commit 3a13fb1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/app.module.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ErrorHandler, NgModule } from '@angular/core';
33
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
44
import { SplashScreen } from '@ionic-native/splash-screen';
55
import { StatusBar } from '@ionic-native/status-bar';
6+
import { AgmCoreModule } from '@agm/core';
67
import { MomentModule } from 'angular2-moment';
78
import { ChatsPage } from '../pages/chats/chats';
89
import { NewChatComponent } from '../pages/chats/new-chat';
@@ -30,7 +31,10 @@ import { MyApp } from './app.component';
3031
imports: [
3132
BrowserModule,
3233
IonicModule.forRoot(MyApp),
33-
MomentModule
34+
MomentModule,
35+
AgmCoreModule.forRoot({
36+
apiKey: 'AIzaSyAWoBdZHCNh5R-hB5S5ZZ2oeoYyfdDgniA'
37+
})
3438
],
3539
bootstrap: [IonicApp],
3640
entryComponents: [

0 commit comments

Comments
 (0)