@ec.components/location
This package wraps the angular-google-maps to be suitable for forms.
Overview
Installation
1. Install package
npm install @ec.components/location --save
2. Add Module
import { LocationModule } from '@ec.components/location';
@NgModule({
imports: [LocationModule],
})
export class AppModule {}
3. Use it as default input for location fields
constructor(private typeConfig: TypeConfigService) {
this.typeConfig.set('location', {
input: LocationPickerComponent
});