angular2-google-maps

Angular 2 Components for Google Maps.

Really easy to get started!

copy

import {Component} from '@angular/core';
import {bootstrap} from '@angular/platform-browser-dynamic';

import {
GOOGLE_MAPS_DIRECTIVES,
GOOGLE_MAPS_PROVIDERS
} from 'angular2-google-maps/core';

@Component({
	selector: 'app-component',
	directives: [GOOGLE_MAPS_DIRECTIVES]
	template: `
		<sebm-google-map [latitude]="lat" [longitude]="lng">
		</sebm-google-map>
	`
})
class AppComponent {
	lat: number = 44.3;
	lng: number = 33.2;
}

bootstrap(AppComponent, [GOOGLE_MAPS_PROVIDERS]);

						

Want to contribute? Found a bug?

Contributions and Bug reports are very welcome! We accept Pull Requests on Github.

Maintainer

Sebastian Müller

Sebastian Müller - @Sebamueller

Sebastian is a Front-End Architect @ adesso. He's an JavaScript enthusiast and likes to develop reactive SPA with Angular 2.