Chapter 4. Advancing the Basic Mobile ArcGIS Application

In the previous chapter, we built our first mobile ArcGIS app. The application loaded a basemap and a feature layer, and we added geolocation functionality. Next, we will jump into some more advanced coding. This is where the fun begins. We will build ArcGIS apps that include some popular mobile tools.

In this chapter, we will cover the following topics:

  • Adding popular tools
  • Feature popups
  • Adding a legend
  • Finding features
  • Address Search

Getting started

In Chapter 3, Building Your First Mobile ArcGIS Application, we added a layer of data provided by an ArcGIS feature service. This is a special type of service where the raw layer data is passed to the mobile browser for rendering. This is different to the other commonly used ArcGIS map services—dynamic and tiled—that provide map images. You can interact directly with features generated by an ArcGIS feature service programmatically. Using feature layers, and setting the correct "Mode", can avoid the need for a round-trip request-response to ArcGIS when we pan, zoom, or wish to see a features attribute.

The following screenshot illustrates the various types of layers in ArcGIS:

Getting started

ArcGIS layer types

Avoiding server requests has potential advantages, particularly relating to performance. In this chapter, we will remain focused on feature layers most of the the code examples take advantage of in-memory feature layer data.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.101.106