mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
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).
14 lines
370 B
TypeScript
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;
|
|
}
|
|
}
|