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

Creating our own widget


Now that we know the basics of creating custom widgets, that is to say, dijits for our web applications, let's put our knowledge into practice. In this part of the chapter, we will transform the single-page application code we wrote in Chapter 1, Your First Mapping Application into a dijit that can be used with any map. We'll then use that dijit in a map application that can be expanded to include other dijits as well.

Picking up where we left off…

We finally received feedback from the Y2K Society about the census map we created in Chapter 1, Your First Mapping Application. They liked how the map worked, but felt it could use more polish. After a meeting with some group members, here is a list of their feedback:

  • The application should have sections at the top and the bottom to show titles and a little bit about the society

  • The colors should be warm and cheery, such as yellows

  • Get rid of the plain black line work of the census layer data

  • The application should let us do...