Making a web mapping app more Angular

Since AngularJS is a framework, it is expected to handle the work of page layout, event handling, and so on. However, Dojo is also a framework, and has its own opinions about how those page events should be handled. Can the two get along?

The key to using AngularJS and the ArcGIS JavaScript API side by side is to let Angular handle most of the page layout, but use the map, widgets, and task from the ArcGIS JavaScript API to communicate with ArcGIS Server.

Much of the work needed to make our application run with AngularJS would take far too long to explain, and deserves its own chapter. Instead, I've supplied a few resources you can look over to integrate Angular into your own application.

Note

For more information ...

Get Mastering ArcGIS Server Development with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.