/angular-esri-components

A set of Angular components to work with ArcGIS API for JavaScript v4.3

Primary LanguageTypeScriptApache License 2.0Apache-2.0

angular-esri-components

npm version

A set of Angular components to work with ArcGIS API for JavaScript v4.3

Setup

npm install --save angular-esri-components

Component status:

Component Status Docs Issue
esri-map Available README -
esri-legend Not Started -
esri-layerList Not Started -
esri-customWidget Available README #4
esri-layersToggle Available README #6
(more coming) -

Setup

Note: It is no longer necessary to add an import statement into your index.html file for the ESRI CSS. This has been included in the styles for the map component. If you have an existing import of the ESRI CSS in your application you should remove it.

Include AngularEsriModule in your main module:

// ...

import { AngularEsriModule } from 'angular-esri-components';

@NgModule({
  // ...
  imports: [
    AngularEsriModule
  ],
  // ...
})
export class AppModule { }