tomwayson / esri-angular-cli-example

Example of how to to use the ArcGIS API for JavaScript in an Angular CLI app

Home Page:https://tomwayson.github.io/esri-angular-cli-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a comparison of this approach vs that shown in other esri webpack examples to README

tomwayson opened this issue · comments

Pros of the approach in this repo:

  • you can use it w/ the angular-cli
  • you can lazy load the ArcGIS API for JavaScript

Assuming #4 and #5 work the only downside I can think of w/ the approach outlined in this repo is that you don't get to write import Map from 'esri/map', instead you have to use the loader service as shown in the map component.