mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-26 01:44:07 +01:00
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:
parent
df3bc2a60d
commit
fbbf94448b
22 changed files with 5732 additions and 3580 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue