- Developing Mobile Web ArcGIS Applications
- Matthew Sheehan
- 380字
- 2021-07-23 20:24:13
Interacting with mobile applications
By interaction, we mean how users work with an application, which includes the following:
- Change from mouse to finger interaction, that is, from click to tap
- New mobile data input methods including popup keyboards
- The need to provide user interaction feedback
Next, we will cover these interaction differences in a little more detail.
From clickable to tappable
The following screenshot illustrates the Smartphone ArcGIS finger interactions that we just discussed:

Smartphone ArcGIS finger interaction
Traditional web development is focused on mouse interaction, where a mouse is a high-precision device. Mobile web development is quite different, as it relies on touch or finger interaction instead. This is very low precision, particularly since we all have different sized fingers. Tapping a button can be problematic and requires that the selectable on-screen items be larger to ensure a good user experience. Map interaction is driven by a finger slide for pan and a pinch to zoom. Zoom sliders are often included in mobile ArcGIS apps and they also provide zoom functionality.
New data input and collection methods
Data input relies on a screen-based, touch-driven keyboard. Usually, multiple keyboards are available; these are for character input, phone or numeric input, and date input, respectively. Voice is another potential source of data input for a mobile device. This provides new and interesting possibilities for mobile web developers.

Mobile device input types
For ArcGIS developers, the built-in GPS that is present on most devices means that current location, or geolocation, is a valuable new data source for use in any mobile application. Similarly, built-in cameras provide both video and still imagery, and these can help to enrich the data used or collected in an application.
Providing interaction feedback
Any interaction should provide users with obvious feedback. When a user taps a button or link, it is good if the item changes state.
For example, as shown in the following screenshots, a green-colored button with the label, 'Online', changes to red and the label changes to 'Offline' after a user tap:

Button changes color and label based on user interaction
Another good feedback mechanism is a loading animation. This is particularly helpful when loading maps:

Map loading animation
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- Learn Blockchain Programming with JavaScript
- Dependency Injection in .NET Core 2.0
- Java編程技術與項目實戰(第2版)
- Cocos2d-x學習筆記:完全掌握Lua API與游戲項目開發 (未來書庫)
- Python High Performance Programming
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- Java EE Web應用開發基礎
- Clojure High Performance Programming(Second Edition)
- Groovy 2 Cookbook
- Java程序設計入門(第2版)
- JavaScript Unit Testing
- 軟件再工程:優化現有軟件系統的方法與最佳實踐
- Python程序設計教程
- HTML+CSS+JavaScript前端開發(慕課版)