mirror of
				https://github.com/DerTyp7/street-map-typescript.git
				synced 2025-10-30 13:17:10 +01:00 
			
		
		
		
	added auto-complete-list with example values
This commit is contained in:
		| @@ -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', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Janis Meister
					Janis Meister