Add google maps

This commit is contained in:
David Eder
2021-06-03 20:43:06 +02:00
parent bd2ab0e6d3
commit 92cfc07166
17 changed files with 82 additions and 97 deletions
@@ -1,33 +1,6 @@
<h1>landing works!</h1>
<mat-slider min="1" max="5" step="0.5" [value]="myValue"></mat-slider>
<h2>Two way data binding, passing data, triggering child event...</h2>
<mat-form-field *ngIf="true">
<input
type="text"
placeholder="Placeholder"
matInput
[(ngModel)]="exampleInputText"
>
</mat-form-field>
<app-test-sub-comp [message]="exampleInputText" (buttonClickedEvent)="alert()"
[anotherInput]=""
></app-test-sub-comp>
<h2>Hide display with *ngIf</h2>
<mat-slide-toggle [(ngModel)]="showPar">Show paragraph</mat-slide-toggle>
<p *ngIf="showPar">Toggle me</p>
<app-test-sub-comp *ngIf="showPar"
[message]="exampleInputText" (buttonClickedEvent)="alert()"
[anotherInput]=""
></app-test-sub-comp>
<h2>Display a test list with *ngFor</h2>
<span *ngFor="let dict of testList">{{dict.value}}; </span>
<google-map width="auto" height="100vh"
[zoom]="zoom"
[center]="center"
[options]="options"
>
</google-map>