You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 9, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# angular2-esri-loader
2
-
An [Angular 2](https://angular.io/)service to help you load [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/) modules.
2
+
An [Angular](https://angular.io/)library to help you load [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/) modules.
3
3
4
4
Exposes a service that wraps the functions from the [esri-loader](https://github.com/tomwayson/esri-loader) library in new functions that return promises.
5
5
@@ -48,9 +48,17 @@ export class EsriMapComponent implements OnInit {
48
48
}
49
49
```
50
50
51
+
### In an Angular CLI Application
52
+
53
+
To use this library in an [Angular CLI](https://github.com/angular/angular-cli) application, the best place to start is to follow the instructions in [this gist](https://gist.github.com/tomwayson/e6260adfd56c2529313936528b8adacd).
54
+
51
55
For an example of how to use this service to lazy load the ArcGIS API and resolve modules in a route, see
See [this gist](https://gist.github.com/jwasilgeo/00855ee002aca822e33abd8a7a031f56) for instructions on how to use this library in an [AngularClass/angular2-webpack-starter](https://github.com/AngularClass/angular2-webpack-starter) application.
61
+
54
62
## ArcGIS Types
55
63
This service doesn't make any assumptions about which version of the ArcGIS API you are using, so you will have to manually install the appropriate types.
0 commit comments