@ec.components/location

Location components for optimal use in ec.components forms

Stats

StarsIssuesVersionUpdatedCreatedSize
@ec.components/location
0.20.83 months ago3 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

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
    });

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.