@ec.components/location

Location components for optimal use in ec.components forms

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ec.components/location
0.20.8a year ago5 years agoMinified + gzip package size for @ec.components/location in KB

Readme

@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

  1. Add Module

import { LocationModule } from '@ec.components/location';

@NgModule({
  imports: [LocationModule],
})
export class AppModule {}

  1. Use it as default input for location fields

constructor(private typeConfig: TypeConfigService) {
  this.typeConfig.set('location', {
    input: LocationPickerComponent
  });