diff --git a/src/app/map/components/map.component.ts b/src/app/map/components/map.component.ts index f1ebfb5201b881c71ee101ff63494a1899def8d7..153bf587386d4b61ddff212c55c8304b7778da42 100644 --- a/src/app/map/components/map.component.ts +++ b/src/app/map/components/map.component.ts @@ -118,7 +118,6 @@ export class MapComponent implements OnInit, OnDestroy { } searchAdress(value: string) { - console.log(value); // Subscribe to search location input const item = this.searchLocationResult.find(e => e.caption === value); if (item) { @@ -149,7 +148,7 @@ export class MapComponent implements OnInit, OnDestroy { // create a DOM element for the marker const el = document.createElement('div'); el.className = 'marker'; - el.style.backgroundImage = 'url(/assets/img/position.svg)'; + el.style.backgroundImage = 'url(./assets/img/position.svg)'; el.style.backgroundRepeat = 'no-repeat'; el.style.backgroundPosition = 'center'; el.style.width = '50px'; diff --git a/src/app/map/components/search-address/search-address.component.scss b/src/app/map/components/search-address/search-address.component.scss index 7592f3c6c9b5d190762e2b3c63093b8541154e99..8a34eccfdd7a533e959f950876d511bd129535ec 100644 --- a/src/app/map/components/search-address/search-address.component.scss +++ b/src/app/map/components/search-address/search-address.component.scss @@ -3,6 +3,7 @@ .research-input { width: 100%; + height: 100%; min-width: 20rem; input { font-size: 0.875rem; @@ -74,6 +75,10 @@ input { text-overflow: ellipsis; box-shadow: none; - border: 1px solid $grey-super-light-color; + border: 1px solid #dbdbdb; + &:active, + &:hover { + border: 1px solid $grey-super-light-color; + } } } diff --git a/src/app/map/components/search-address/search-address.component.ts b/src/app/map/components/search-address/search-address.component.ts index b4f1d931c51478896c4496ef13aea5ac2e255a24..f03e00c90dd0f2e1cfe7a1d2f31c01d1b32a164f 100644 --- a/src/app/map/components/search-address/search-address.component.ts +++ b/src/app/map/components/search-address/search-address.component.ts @@ -101,8 +101,6 @@ export class SearchAddressComponent implements OnInit { } requestAutocomplete() { - // tslint:disable-next-line:max-line-length - console.log(this.searchValue); this.searchAddress.emit(this.searchValue); } @@ -111,8 +109,4 @@ export class SearchAddressComponent implements OnInit { this.searchChanged(); this.clearAddress.emit(); } - - // get isLoading() { - // return this._datasetResearchService.isLoading; - // } } diff --git a/src/app/map/services/geocoder.service.ts b/src/app/map/services/geocoder.service.ts index cbaf248178c5620b77987d9755825b6b58104c3a..21e8bba448a18cf7dcdf73bf0c4050b912e38400 100644 --- a/src/app/map/services/geocoder.service.ts +++ b/src/app/map/services/geocoder.service.ts @@ -18,7 +18,6 @@ export class GeocoderService { `${this.geoServiceUrl}/api?q=${term}&lat=45.75&lon=4.85&lang=fr&limit=3&osm_tag=:!construction&osm_tag=:!bus_stop`).pipe( map((res) => { return res.features.map((item) => { - console.log(item) // const stop = item.properties.osm_value === 'bus_stop' ? 'ArrĂȘt ' : ''; const housenumber = item.properties.housenumber ? item.properties.housenumber : null; const name = item.properties.name ? item.properties.name : '';