added auto-complete-list with example values

This commit is contained in:
Janis Meister
2022-01-13 13:59:44 +01:00
parent 1dc65336c4
commit 157e18fe2d
5 changed files with 46 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
import { Component, OnInit, AfterViewInit} from '@angular/core';
import { Component, AfterViewInit} from '@angular/core';
import { defaults as defaultControls } from 'ol/control';
import { fromLonLat } from 'ol/proj';
@@ -14,14 +14,10 @@ import ZoomToExtent from 'ol/control/ZoomToExtent';
styleUrls: ['./app.component.css', '../../node_modules/ol/ol.css']
})
export class AppComponent implements AfterViewInit, OnInit {
export class AppComponent implements AfterViewInit {
title = "Street Map";
map: Map;
ngOnInit() {
}
ngAfterViewInit() {
this.map = new Map({
target: 'map',