feat: upgrade to Angular 9 and Nebular 5 (#5628)

BREAKING CHANGE:
Angular updated to version 9.
Nebular updated to version 5.
`@agm/core` replaced with `@angular/google-maps`.
`ng2-completer` replaced with `@akveo/ng2-completer`, read details [here](https://github.com/akveo/ng2-smart-table/pull/1140#issue-392285957).
This commit is contained in:
Evgeny Lupanov 2020-03-30 12:06:51 +03:00 committed by GitHub
parent df3bc2a60d
commit fbbf94448b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 5732 additions and 3580 deletions

View file

@ -1,15 +1,14 @@
import { Component } from '@angular/core';
import { Location } from './entity/Location';
import { PositionModel } from './entity/position.model';
@Component({
selector: 'ngx-search-map',
templateUrl: './search-map.component.html',
})
export class SearchMapComponent {
searchedPosition: PositionModel = new PositionModel();
searchedLocation: Location = new Location();
updateLocation(event: Location) {
this.searchedLocation = new Location(event.latitude, event.longitude);
setPosition(position: PositionModel) {
this.searchedPosition = position;
}
}