fix(maps): improve maps styles

This commit is contained in:
KostyaDanovsky 2017-07-24 11:52:42 +03:00
parent 1a60dfa81b
commit ef994704c2
6 changed files with 43 additions and 32 deletions

View file

@ -3,11 +3,18 @@ import { Component } from '@angular/core';
@Component({
selector: 'ngx-gmaps',
styleUrls: ['./gmaps.component.scss'],
templateUrl: './gmaps.component.html',
template: `
<nga-card size="large">
<nga-card-header>Gmaps</nga-card-header>
<nga-card-body>
<agm-map [latitude]="lat" [longitude]="lng">
<agm-marker [latitude]="lat" [longitude]="lng"></agm-marker>
</agm-map>
</nga-card-body>
</nga-card>
`,
})
export class GmapsComponent {
lat: number = 51.678418;
lng: number = 7.809007;
}