2.0.0 • Published 6 years ago
angular-esri-components v2.0.0
angular-esri-components
A set of Angular components to work with ArcGIS API for JavaScript v4.6
Setup
npm install --save angular-esri-components
OR yarn add angular-esri-components
Component status:
Component | Status | Docs | Issue |
---|---|---|---|
esri-map | Available | README | - |
EsriModuleProvider | Available | README | - |
esri-legend | Not Started | - | |
esri-layer-list | Not Started | - | |
esriCustomWidget | Available | README | #4 |
esri-layers-toggle | 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 { }