/ mozey.co / blog

angular2 google maps quickstart

April 4, 2016

🔗 project-structure

Install typescript

sudo npm install -g typescript

Create a project folder

mkdir angular2-google-maps-project && cd angular2-google-maps-project

Create files

typings.json

package.json

Install npm packages

npm install

Configure typescript compiler with tsconfig.json

Create index.html

🔗 angular2-google-maps-setup

Add angular2-google-maps to your project

npm install --save angular2-google-maps

Update index.html

Creating the app folder

mkdir app

Create app.component.ts

Create boot.ts

Run the application

npm start

🔗 Troubleshooting

gitter