A set of Angular components to work with ArcGIS API for JavaScript v4.3
npm install --save angular-esri-components
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) | - |
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 { }