Book Image

Mastering ArcGIS Server Development with JavaScript

By : Raymond Kenneth Doman
Book Image

Mastering ArcGIS Server Development with JavaScript

By: Raymond Kenneth Doman

Overview of this book

Table of Contents (18 chapters)
Mastering ArcGIS Server Development with JavaScript
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 about incorporating ArcGIS JavaScript API with Angular.JS, you can read blog posts by Rene Rubalcava at http://odoe.net/blog/using-angularjs-with-arcgis-api-for-javascript/ or read his book ArcGIS Web Development, published by Manning Press. You...