mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-22 16:04:08 +01:00
fix(maps): improve maps styles
This commit is contained in:
parent
1a60dfa81b
commit
ef994704c2
6 changed files with 43 additions and 32 deletions
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue