ngx-admin/src/app/pages/maps/search-map/search-map.component.ts
Evgeny Lupanov fbbf94448b
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).
2020-03-30 12:06:51 +03:00

14 lines
370 B
TypeScript

import { Component } from '@angular/core';
import { PositionModel } from './entity/position.model';
@Component({
selector: 'ngx-search-map',
templateUrl: './search-map.component.html',
})
export class SearchMapComponent {
searchedPosition: PositionModel = new PositionModel();
setPosition(position: PositionModel) {
this.searchedPosition = position;
}
}