styling improved
This commit is contained in:
parent
40bd7459b5
commit
5d3283171c
3 changed files with 2 additions and 4 deletions
|
@ -6,13 +6,11 @@
|
||||||
<strong>Supplier Map</strong>
|
<strong>Supplier Map</strong>
|
||||||
<small>Required Data marked in <strong>bold</strong>.</small>
|
<small>Required Data marked in <strong>bold</strong>.</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-block">
|
|
||||||
<!-- this creates a google map on the page with the given lat/lng from -->
|
<!-- this creates a google map on the page with the given lat/lng from -->
|
||||||
<!-- the component as the initial center of the map: -->
|
<!-- the component as the initial center of the map: -->
|
||||||
<agm-map [latitude]="lat" [longitude]="lng">
|
<agm-map [latitude]="lat" [longitude]="lng">
|
||||||
<agm-marker [latitude]="lat" [longitude]="lng"></agm-marker>
|
<agm-marker [latitude]="lat" [longitude]="lng"></agm-marker>
|
||||||
</agm-map>
|
</agm-map>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!--/.row-->
|
</div><!--/.row-->
|
||||||
|
|
|
@ -10,7 +10,7 @@ import 'rxjs/add/operator/map';
|
||||||
export class MapComponent implements OnInit {
|
export class MapComponent implements OnInit {
|
||||||
|
|
||||||
lat: number = 54.0466;
|
lat: number = 54.0466;
|
||||||
lng: number = 2.8007;
|
lng: number = -2.8007;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private http: Http,
|
private http: Http,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
// Map styling
|
// Map styling
|
||||||
agm-map {
|
agm-map {
|
||||||
height: 300px;
|
height: 75vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
// white title font variant on type-2 as defined in _widgets.css
|
// white title font variant on type-2 as defined in _widgets.css
|
||||||
|
|
Reference in a new issue