2.0.0 • Published 6 years ago

angular-esri-components v2.0.0

Weekly downloads
49
License
-
Repository
-
Last release
6 years ago

angular-esri-components

npm version

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

Setup

npm install --save angular-esri-componentsOR yarn add angular-esri-components

Component status:

ComponentStatusDocsIssue
esri-mapAvailableREADME-
EsriModuleProviderAvailableREADME-
esri-legendNot Started-
esri-layer-listNot Started-
esriCustomWidgetAvailableREADME#4
esri-layers-toggleAvailableREADME#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 { }