angular2-esri4-components
TypeScript icon, indicating that this package has built-in type declarations

0.5.5 • Public • Published

angular2-esri4-components

npm version

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

Setup

npm install --save angular2-esri4-components

Component status:

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

Setup

Import CSS for ArcGIS API for JavaScript v4 into the head of your index.html:

<!doctype html>
<html>
<head>
  <!-- ... -->
  <link rel="stylesheet" href="https://js.arcgis.com/4.3/esri/css/main.css">
  <!-- ... -->
</head>
<body>
  <app-root>Loading...</app-root>
</body>
</html>

Include Angular2Esri4Module in your main module:

// ...
 
import { Angular2Esri4Module } from 'angular2-esri4-components';
 
@NgModule({
  // ...
  imports: [
    Angular2Esri4Module
  ],
  // ...
})
export class AppModule { }
 

Readme

Keywords

none

Package Sidebar

Install

npm i angular2-esri4-components

Weekly Downloads

1

Version

0.5.5

License

Apache-2.0

Last publish

Collaborators

  • kgs916