feat(maps): add google map with access search location dropdown

This commit is contained in:
dimaatkaev 2018-02-19 20:17:38 +03:00 committed by Dmitry Nehaychik
parent cb5795b52f
commit 97c7134c77
13 changed files with 151 additions and 3 deletions

View file

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