styling improved

This commit is contained in:
piratefinn 2017-09-26 17:51:14 +01:00
parent 40bd7459b5
commit 5d3283171c
3 changed files with 2 additions and 4 deletions

View file

@ -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-->

View file

@ -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,

View file

@ -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