Skip to content

Commit

Permalink
Merge pull request #252 from Esri/eli/docs-hotfix
Browse files Browse the repository at this point in the history
Release 1.2.1 Hotfix: App Docs
  • Loading branch information
esreli authored Aug 18, 2020
2 parents 16e2db5 + 1067564 commit b7535c3
Show file tree
Hide file tree
Showing 27 changed files with 19 additions and 14 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@
---
[Data Collection for iOS](https://developers.arcgis.com/example-apps/data-collection-ios/) shows how a robust application can be built around the ArcGIS Platform using the ArcGIS Runtime SDK for iOS and Swift. It demonstrates best practices around some simple but key functionality of the ArcGIS Runtime. Using your organization's web maps, you can use Data Collection as is, or extend it to meet your specific needs.

![General UI](./docs/images/General-UI.png)
![General UI 2](./docs/images/General-UI-2.png)
| Map | Portal | Pop-up | Attachments |
| --- | ------ | ------ | ----------- |
| ![map](./docs/images/map.png) | ![profile](./docs/images/profile.png) | ![pop-up](./docs/images/pop-up.png) | ![attachments](./docs/images/attachments.png) |

| Collect | Map Content | Bookmarks | Layers |
| ------- | ----------- | --------- | ------ |
| ![collect](./docs/images/new-feature.png) | ![extras](./docs/images/extras.png) | ![bookmarks](./docs/images/bookmarks.png) | ![layers](./docs/images/layers.png) |

## Features
* Taking your web map and data offline
Expand Down
24 changes: 12 additions & 12 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ While these custom behaviors may not work with your web map, they illustrate bes

The app launches to a navigation based application containing a map view.

![Main Map View](/docs/images/anatomy-map-view.png)
![map](/docs/images/map.png)

The navigation bar's title reflects the name of the web map and the navigation bar button items are as follows:

| Icon | Description |
| ---- | ----------- |
| ![Hamburger Drawer View](/docs/images/hamburger.png) | Hamburger button to reveal or hide the app context drawer view. |
|:----:| ----------- |
| ![Profile](/docs/images/profile-nav.png) | Show user profile and online/offline map context. |
| ![Zoom To Location](/docs/images/zoom-to-location.png) | Zoom to user's location. |
| ![Add Feature](/docs/images/add-feature.png) | Add a new spatial feature to map. |
| ![Extras](/docs/images/ellipsis.png) | Extras button to access Layers and Bookmarks. |
Expand All @@ -126,7 +126,7 @@ The navigation bar's title reflects the name of the web map and the navigation b

Tapping the navigation bar's hamburger button reveals the app context drawer view.

![App Context Drawer View](/docs/images/anatomy-app-context-drawer.png)
![App Context Drawer View](/docs/images/profile.png)

#### Sign in and out of Portal

Expand All @@ -150,7 +150,7 @@ A user may need to collect data in a location where they are disconnected from t

> Because *Trees of Portland* uses a premium content basemap, a user must be authenticated to fully take the web map offline.
![Download Map Offline Extent](/docs/images/anatomy-offline-extent.png)
![Download Map Offline Extent](/docs/images/offline-extent.png)

When taking the web map offline, the app asks the user to specify the area of the web map they want to take offline for storage in the device's documents directory following the offline map creation [on-demand workflow](https://developers.arcgis.com/ios/latest/swift/guide/take-map-offline-on-demand.htm). After the generate offline map job finishes, the app enters offline work mode and loads the offline mobile map package.

Expand All @@ -166,27 +166,27 @@ If a user elects to delete the offline map, the app deletes the offline mobile m

Selecting the map Extras button displays allows you to choose either "Layer" or "Bookmarks".

![Screenshot showing map extras on iPhone](/docs/images/extras-iphone.png)
![Screenshot showing map extras on iPhone](/docs/images/extras.png)

### View map bookmarks

Web maps can include a list of bookmarks. Each bookmark consists of a map extent (visible area) and a name. Bookmarks can be authored in ArcGIS Pro and the ArcGIS Web Map Viewer.

You can select the Bookmark item in Extras to see a list of bookmarks in the map. Selecting a bookmark will show that bookmark's extent.

![Screenshot showing bookmarks on iPhone](/docs/images/component-bookmarks-iphone.png)
![Screenshot showing bookmarks on iPhone](/docs/images/bookmarks.png)

### View the map's layers

You can select the Layers item in Extras to view the symbology for each layer. You can "flip" the switch control to hide or show each layer. Selecting the "chevron" button to the left of the layer name will hide or show the symbology, if any, for each layer.

![Screenshot showing layers on iPhone](/docs/images/component-layers-iphone.png)
![Screenshot showing layers on iPhone](/docs/images/layers.png)

### Identify map features

Tapping the map performs an identify function on the map. One best result is chosen, a small pop-up view is revealed and the feature is selected on the map. If no results are found, the user is notified.

![Identified Map Feature](/docs/images/anatomy-identified-feature.png)
![Identified Map Feature](/docs/images/identify.png)

Tapping the small pop-up view presents modally a full pop-up view for deeper interrogation of the data.

Expand All @@ -198,7 +198,7 @@ If the map contains a spatial feature layer that adheres to the rules specified

If there is more than one eligible feature layer, a modal action sheet is presented, prompting the user to select onto which layer they would like to add a new feature. If there is only one eligible feature layer, the app selects this layer.

![Add New Feature](/docs/images/anatomy-new-feature.png)
![Add New Feature](/docs/images/new-feature.png)

An action banner appears and a pin drops to the center of the map view. The action banner contains a select and a cancel button. The pin remains fixed to the center of the map view as the map is panned and zoomed beneath it. If the user taps the select button, a new feature is created using the fixed map view's center point translated to a spatial coordinate.

Expand All @@ -214,7 +214,7 @@ After identifying a pop-up, tapping the small pop-up view modally presents that

A full screen table-based view controller allows the user to interrogate the map view's selected pop-up in greater detail. The table-based view is broken down into a number of sub-components.

![View A Pop-up](/docs/images/anatomy-popup-view.png)
![View A Pop-up](/docs/images/pop-up.png)

The first section displays each attribute configured for display. Following the display attributes are each many-to-one related records. In the *Trees of Portland* web map the trees table has one many-to-one relationship, the species table.

Expand All @@ -236,7 +236,7 @@ Starting an edit session enables the user to edit the pop-up's attributes, relat

The pop-up's attributes configured as editable can be edited and validated inline within the same pop-up view.

![Edit A Pop-up](/docs/images/anatomy-popup-edit.png)
![Edit A Pop-up](/docs/images/pop-up-edit.png)

As values for fields are updated, the app informs the user of invalid changes and why it's invalid. The pop-up won't save if there are invalid fields.

Expand Down
Binary file removed docs/images/General-UI-2.png
Binary file not shown.
Binary file removed docs/images/General-UI.png
Binary file not shown.
Binary file removed docs/images/anatomy-app-context-drawer.png
Binary file not shown.
Binary file removed docs/images/anatomy-identified-feature.png
Binary file not shown.
Binary file removed docs/images/anatomy-map-view.png
Binary file not shown.
Binary file removed docs/images/anatomy-new-feature.png
Binary file not shown.
Binary file removed docs/images/anatomy-offline-extent.png
Binary file not shown.
Binary file removed docs/images/anatomy-popup-edit.png
Binary file not shown.
Binary file removed docs/images/anatomy-popup-view.png
Binary file not shown.
Binary file added docs/images/attachments.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/bookmarks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/component-bookmarks-iphone.png
Binary file not shown.
Binary file removed docs/images/component-layers-iphone.png
Binary file not shown.
Binary file removed docs/images/extras-iphone.png
Binary file not shown.
Binary file added docs/images/extras.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/hamburger.png
Binary file not shown.
Binary file added docs/images/identify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/layers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/new-feature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/offline-extent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/pop-up-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/pop-up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/profile-nav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b7535c3

Please sign in to comment.