bootstrap local added

This commit is contained in:
HuskyTeufel
2022-02-01 16:36:30 +01:00
parent e1eee90be6
commit 32727daf8d
7 changed files with 878 additions and 40 deletions

View File

@@ -1,2 +1,8 @@
<p>wegbeschreibung works!</p>
<div id="beschreibung" ></div>
<div *ngIf="active">
<div id="beschreibung" ></div>
</div>
<div *ngIf="!active">
<h1>Diese Funktion steht leider noch nicht zur Verfügung</h1>
<h2>Bitte Schauen Sie ab den 1.3.2022 nochmal vorbei</h2>
<h3>Vielen Dank für Ihr verständnis</h3>
</div>

View File

@@ -8,6 +8,7 @@ import Icon from 'ol/style/Icon';
import OSM from 'ol/source/OSM';
import * as olProj from 'ol/proj';
import TileLayer from 'ol/layer/Tile';
import { environment } from 'src/environments/environment';
@@ -17,10 +18,13 @@ import TileLayer from 'ol/layer/Tile';
styleUrls: ['./wegbeschreibung.component.css']
})
export class WegbeschreibungComponent implements OnInit {
active:boolean = false;
Map!: Map;
constructor() { }
constructor() {
this.active = !environment.production;
}
ngOnInit(): void {
this.Map = new Map({