tomwayson / esri-angular-cli-example

Example of how to to use the ArcGIS API for JavaScript in an Angular CLI app
https://tomwayson.github.io/esri-angular-cli-example
29 stars 23 forks source link

Extract esri loader #10

Closed tomwayson closed 7 years ago

tomwayson commented 7 years ago

resolves #3 resolves #9

For some reason, I was only able to use a relative import path. I was expecting to be able to use import { isLoaded, bootstrap, dojoRequire } from 'esri-loader'; - I blame TypeScript.

@kgs916 the new promise based API of EsriLoaderService might help w/ #2

@jwasilgeo - would love your thoughts on that^^^ API (esp function names) and the API of the newly released https://github.com/tomwayson/esri-loader

jwasilgeo commented 7 years ago

@tomwayson this is looking really great. I took a long look at this and there are no complaints or suggestions from me! I'm looking forward to refactoring over in angular-esri-map.

tomwayson commented 7 years ago

maybe not @jwasilgeo - see https://github.com/tomwayson/esri-loader/issues/1#issuecomment-261735705