Building Web and Mobile ArcGIS Server Applications with JavaScript

Improve your knowledge and career prospects in web or mobile application development with this step-by-step practical guide to ArcGIS Server. Gives a good grounding in everything from creating maps to network analysis.

Building Web and Mobile ArcGIS Server Applications with JavaScript

Starting
Eric Pimpler

Improve your knowledge and career prospects in web or mobile application development with this step-by-step practical guide to ArcGIS Server. Gives a good grounding in everything from creating maps to network analysis.
$26.99
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free Sample

Book Details

ISBN 139781849697965
Paperback274 pages

About This Book

  • Develop ArcGIS Server applications with JavaScript, both for traditional web browsers as well as the mobile platform
  • Acquire in-demand GIS skills sought by many employers
  • Step-by-step instructions, examples, and hands-on practice designed to help you learn the key features and design considerations for building custom ArcGIS Server applications

Who This Book Is For

If you are a web or mobile application developer, who wants to create GIS applications in your respective platform, this book is ideal for you. You will need Java Script programming experience to get the most out of this book. Although designed as an introductory to intermediate level book, it will also be useful for more advanced developers who are new to the topic of developing applications with ArcGIS Server.

Table of Contents

Chapter 1: Introduction to HTML, CSS, and JavaScript
Basic HTML page concepts
JavaScript fundamentals
Basic CSS principles
Separating HTML, CSS, and JavaScript
Summary
Chapter 2: Creating Maps and Adding Layers
Introduction
The ArcGIS API for JavaScript Sandbox
Basic steps for creating an application with the ArcGIS API for JavaScript
More about the map
Working with map service layers
Map events
Summary
Chapter 3: Adding Graphics to the Map
The four parts of a graphic
Creating geometry for graphics
Symbolizing graphics
Assigning attributes to graphics
Displaying graphic attributes in an info template
Creating graphics
Adding graphics to the graphics layer
Time to practice with graphics
Summary
Chapter 4: The Feature Layer
Creating a FeatureLayer object
Defining display modes
Setting a definition expression
Feature selection
Rendering a feature layer
Time to practice with FeatureLayer
Summary
Chapter 5: Using Widgets and Toolbars
Adding toolbars to an application
User interface widgets
Feature editing
Summary
Chapter 6: Performing Spatial and Attribute Queries
Introducing tasks in ArcGIS Server
An overview of attribute and spatial queries
Time to practice with spatial queries
Summary
Chapter 7: Identifying and Finding Features
Using IdentifyTask to get feature attributes
Using FindTask to get the feature attributes
Summary
Chapter 8: Turning Addresses into Points and Points into Addresses
Introducing geocoding
Geocoding with a Locator service in the ArcGIS API for JavaScript
Time to practice with the Locator service
Summary
Chapter 9: Network Analyst Tasks
RouteTask
Time to practice routing
The ClosestFacility task
The ServiceArea task
Summary
Chapter 10: Geoprocessing Tasks
Models in ArcGIS Server
Using Geoprocessor – what you need to know
Understanding the service page for a geoprocessing task
The Geoprocessor task
Time to practice with geoprocessing tasks
Summary
Chapter 11: Integration with ArcGIS Online
Adding ArcGIS Online maps to your applications with the webmap ID
Adding ArcGIS Online maps to your applications with JSON
Time to practice with ArcGIS Online
Summary
Chapter 12: Creating Mobile Applications
ArcGIS API for JavaScript – a compact build
Integrating the Geolocation API
Summary

What You Will Learn

  • Create maps on a web page and add dynamic and tiled layers
  • Add graphics to maps
  • Use feature layers to render features in the browser
  • Incorporate widgets and toolbars that provide specific functionality to your application
  • Perform spatial and attribute queries
  • Access geoprocessing tasks including models
  • Geocode and reverse geocode addresses
  • Develop mobile GIS applications
  • Conduct network analysis

In Detail

ArcGIS Server is the leading software for developing both web and mobile GIS applications. There are a number of programming languages that you can use to develop applications with ArcGIS Server including JavaScript, Flex, and Silverlight. However, the ArcGIS API for JavaScript is the preferred way of developing your custom applications for ArcGIS Server since it can be used for both web and mobile application development. It’s easy to use and doesn’t require the use of a browser plugin.

This tutorial-based guide provides you with hands-on experience in developing custom web and mobile ArcGIS Server applications with step-by-step style exercises. Along with introducing you to the HTML/CSS/JavaScript technology stack, you will learn to add intuitive geographic layers of information to your map, interactive query and display of spatial data, add user interface widgets, access geoprocessing tasks, and many more in your own web and mobile GIS applications.

With this practical, hands-on guide, you will be able to develop fully-functional online GIS applications with ArcGIS Server using the ArcGIS API for JavaScript. After creating your own map, you will explore how to add geographic layers from a variety of sources including tiled and dynamic map services, add graphics to the map, and stream geographic features to the browser using a FeatureLayer.

Most applications include the specific functionalities implemented by ArcGIS Server as tasks. You’ll learn how to use the various tasks provided by ArcGIS Server including spatial and attribute queries, identification of features, finding features by attribute, and more. Geocoding and geoprocessing tasks are covered in-depth to help you accomplish your task in GIS. Finally, you’ll learn just how easy it is to integrate ArcGIS.com content into your custom developed applications.

This comprehensive guide quickly advances through probing programmatic techniques for building web and mobile GIS applications which will make application development a lot easier!

Authors

Table of Contents

Chapter 1: Introduction to HTML, CSS, and JavaScript
Basic HTML page concepts
JavaScript fundamentals
Basic CSS principles
Separating HTML, CSS, and JavaScript
Summary
Chapter 2: Creating Maps and Adding Layers
Introduction
The ArcGIS API for JavaScript Sandbox
Basic steps for creating an application with the ArcGIS API for JavaScript
More about the map
Working with map service layers
Map events
Summary
Chapter 3: Adding Graphics to the Map
The four parts of a graphic
Creating geometry for graphics
Symbolizing graphics
Assigning attributes to graphics
Displaying graphic attributes in an info template
Creating graphics
Adding graphics to the graphics layer
Time to practice with graphics
Summary
Chapter 4: The Feature Layer
Creating a FeatureLayer object
Defining display modes
Setting a definition expression
Feature selection
Rendering a feature layer
Time to practice with FeatureLayer
Summary
Chapter 5: Using Widgets and Toolbars
Adding toolbars to an application
User interface widgets
Feature editing
Summary
Chapter 6: Performing Spatial and Attribute Queries
Introducing tasks in ArcGIS Server
An overview of attribute and spatial queries
Time to practice with spatial queries
Summary
Chapter 7: Identifying and Finding Features
Using IdentifyTask to get feature attributes
Using FindTask to get the feature attributes
Summary
Chapter 8: Turning Addresses into Points and Points into Addresses
Introducing geocoding
Geocoding with a Locator service in the ArcGIS API for JavaScript
Time to practice with the Locator service
Summary
Chapter 9: Network Analyst Tasks
RouteTask
Time to practice routing
The ClosestFacility task
The ServiceArea task
Summary
Chapter 10: Geoprocessing Tasks
Models in ArcGIS Server
Using Geoprocessor – what you need to know
Understanding the service page for a geoprocessing task
The Geoprocessor task
Time to practice with geoprocessing tasks
Summary
Chapter 11: Integration with ArcGIS Online
Adding ArcGIS Online maps to your applications with the webmap ID
Adding ArcGIS Online maps to your applications with JSON
Time to practice with ArcGIS Online
Summary
Chapter 12: Creating Mobile Applications
ArcGIS API for JavaScript – a compact build
Integrating the Geolocation API
Summary

Book Details

ISBN 139781849697965
Paperback274 pages
Read More