bootstrap local added
This commit is contained in:
@@ -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>
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user