diff --git a/src/app/app.component.css b/src/app/app.component.css index b5f3bd5..47d069e 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -4,14 +4,35 @@ header{ font-size: 15pt; color:white; font-weight: bold; - text-align: center; + } header p{ - padding-top: 10px; + margin-top: 12px; + padding-right: 10px; + display:block; + float:right; +} + +.searchField{ + display:block; + float:left; + margin-top: 10px; +} + +.searchField input{ + margin-left: 25px; + border: 1px solid white; + border-radius: 3px; + background-color: rgb(253, 253, 253); + height: 20px; + font-size: 13pt; + font-weight: bold; + font-family: 'Roboto'; + padding: 5px; } #map{ width: 100%; height: 1000px; -} \ No newline at end of file +} diff --git a/src/app/app.component.html b/src/app/app.component.html index 4a61fd3..3714cce 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,9 @@
+
+ + +

{{title}}

+
\ No newline at end of file diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 27dbb51..0543b87 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -6,9 +6,6 @@ import View from 'ol/View'; import TileLayer from 'ol/layer/Tile'; import XYZ from 'ol/source/XYZ'; import ZoomToExtent from 'ol/control/ZoomToExtent'; -import Feature from 'ol/Feature'; -import Polygon from 'ol/geom/Polygon'; -import Point from 'ol/geom/Point'; @Component({ @@ -21,8 +18,11 @@ export class AppComponent implements AfterViewInit { title = "Street Map"; map: Map; - ngAfterViewInit() { + getValue(valueFrom:string, valueTo:string){ + console.log("From " + valueFrom + " to " + valueTo); + } + ngAfterViewInit() { this.map = new Map({ target: 'map', layers: [