Map

The map displays business objects on a map. It can also be used to show points of interest, optimized routing based on business criteria, and other quantitative location-based data.

Map on mobile (left) and tablet (right)
Map on mobile (left) and tablet (right)

Usage

Do

Use the map if you have a location-based dataset where the user needs to access tracking or routing information, monitor business objects, or visualize relationships between business objects.

Don't
  • Do not use the map when solely providing a map preview within an application. 
  • Do not use the map for non-location-based objects; use a list instead. 
  • Do not use the map when the primary goal of a screen is to complete a task, rather than looking at the locations of multiple objects.

Anatomy

The map consists of a map view, a panel, a toolbar and an “Add” button. The panel may display a list by default, an object detail if an object is selected, or editing controls if the edit mode is active.

A. Map View

The map view displays the user’s current location and annotations.

B. Panel

The panel displays a variety of content types.

C. Toolbar

The toolbar contains the actions that allows users to control the map.

D. Add Button

The “Add” button allows users to access the edit mode and to add a point or a set of points.

Anatomy of map
Anatomy of map

Map View

The map view displays all location-based objects such as the user’s location and annotations related to the user. The following annotation types are used in the map view.

A. Current Location

A marker that indicates the user’s current location. This marker is composed of a blue dot and a radius that occurs at regular intervals.

B. Marker

A marker is used to represent the location of one or more business objects. Use markers to represent jobs, assets, functional locations, or workers in the field. If there are many markers on the map, enable clustering to simplify the map interface.

C. Polylines

A polyline is a series of points that represents a linear path. Use polylines to represent linear assets such as roads, gas lines or utility lines. Different polyline types can be identified by their color and stroke treatment.

D. Polygons

A polygon is a series of points and paths that represent an enclosed area. Use polygons to represent areas such as a construction site or maintenance area. Different polygon types can be identified by their color and stroke treatment.

Map annotation types
Map annotation types

Map Panel

The map panel displays a variety of content such as an object cell list, an object detail preview, and an edit panel. The following are content types that may be displayed in the panel.


A. List

As the first level of information, the panel should display a list of object cells and filters that allow the user to access the detail preview of the object. When designing a list in the panel, follow the content hierarchy defined below:

1) Search – Narrows down the list to matches that are based on the user query. When using the search with the list, use a persistent search on top of the list and make it prominent.

2) Filter Chips – Represent values based on time, attribute, and location that filter down the list when selected.

3) Object Cell List – Presents all objects in a list format and allows users to scroll through and drill-down to an object’s detail page.

Anatomy of list
Anatomy of list

B. Object Detail

After selecting an object cell from a list or a marker on the map, an object detail preview is displayed. The detail page should follow the section hierarchy defined below:

1. Object Header – Contains the object title, a navigation icon as well as an optional object name, a subheading, tags, and menu icons. The title can accommodate up to three lines of text after which the text is truncated.

2. Directions Button Uses Google maps or Esri maps to navigate to an object’s location.

3. Actions Cell – Action cells are quick actions that are related to the object and allow users to view details and create or edit an object.

Anatomy of object detail
Anatomy of object detail

C. Edit

The edit mode allows users to create and control annotations by setting a single point or series of points. The edit mode can be accessed in two ways: tapping the “Add” button on the map view, or the “Edit” action cell on the object detail preview. The edit mode panel displays the controls for adding, deleting, and reordering points. The edit panel follows the following section hierarchy:

1. App Bar – Contains the “Close” icon used to exit the edit mode. The title informs the user that they are in edit mode while the “Save” button allows the user to save their annotations.

2. Choice chips – Represent different types of annotations such as points, polylines, or polygons. Selecting each one changes the type of annotation that the user is applying to the map.

3. Reorder Cell – Displays a point’s precise address or location. To change a cell’s sequence within a list, drag and drop the cell to the desired position on the list. Cells can be deleted from the list by tapping the “Close” icon on the right.

Anatomy of edit mode
Anatomy of edit mode


Toolbar

Depending on the user’s needs, the toolbar can be a single action or can be made up of several vertically stacked actions. When in edit mode the toolbar can include up to five actions. By default, the toolbar provides the following four options:

A. Settings

The settings is a dialog modal with a set of controls. These controls allow users to change the map type, show or hide certain objects on the map, as well as change the units of measurement and the user’s distance.

B. Map Legend

Tapping on the map legend provides detailed information about the symbols and visual elements that appear on the map view.

C. Current Position

Tapping on the current position readjusts the zoom level to show the user’s current location.

D. Zoom Extent

Tapping on the zoom extent readjusts the map zoom level to show all map markers on the screen at once.

Anatomy of the map toolbar
Anatomy of the map toolbar


Add Button

The “Add” button allows users to create a point or annotation by going into the create/edit mode. Tapping on the “Add” button may trigger a menu where the user can select from multiple different object types. If there is only one object type, do not use a menu and simply enable the create/edit mode directly after the users taps on the “Add” button.

Floating action button on bottom right of map view
Floating action button on bottom right of map view

Behavior and Interaction

The map has several interactions that help the user navigate through and perform certain tasks.


Map Zoom

Pinch-to-zoom allows the user to increase or decrease the scale of the map.

Zooming into a map
Zooming into a map

Map Pan

Panning or dragging allows the user to move the map up, down, and sideways without changing the scale of the map.

Panning to navigate around the map
Panning to navigate around the map

Marker Selection

Selecting annotations such as markers, polylines, polygons, displays that object’s detail preview. A selected marker doubles in size from its default size to indicate that the object has been selected. The stroke of selected polylines and polygons doubles in size to indicate that they have been selected.

Selecting a map marker displays an object detail
Selecting a map marker displays an object detail

Marker Clustering

Clustering is a way to control the number of markers by grouping when the user zooms out and dispersing when the user is zooms back in. Objects that share one single geometry (location) are displayed as a single marker with a number count. If objects in a cluster are of different types, the marker should be set to a neutral color. If objects in a cluster are of the same type, the marker should reflect the color set for that specific object type.

Map markers cluster at higher zoom levels
Map markers cluster at higher zoom levels

Panel Dragging

Dragging collapses or expands the panel enabling users to hide or reveal more content. Allow for the top of the panel to be partially visible so that users can expand to half-view. Users can further expand to full view by dragging up.

Reveal or hide the map panel by dragging
Reveal or hide the map panel by dragging

Adaptive Design

Map Settings

Map settings in tablet are displayed as a modal dialog. On mobile, the settings are displayed as a full-screen dialog.

Map settings in mobile (left) and tablet (right)
Map settings in mobile (left) and tablet (right)

Map Legend

The map legend on tablet is displayed as a simple dialog anchored to the map toolbar. On mobile, the map legend is displayed on the map panel.

Map Legend as a bottom sheet (left) and as a menu (right)
Map Legend as a bottom sheet (left) and as a menu (right)

Map Panel

The map panel slides up from the left on tablet landscape and up from the bottom in portrait. On mobile, the panel slides up from the bottom of the screen.

Map panel as a bottom sheet (left) and as a side sheet (right)
Map panel as a bottom sheet (left) and as a side sheet (right)

Resources

Development: FioriMapView

SAP Fiori for iOS: Map

Related Components/Patterns: Search, Timeline, Object Header, Profile Header, Chips

Hierarchy View

The hierarchy view is a set of columns that show the hierarchical relationships between objects. Typically, the hierarchy view shows a parent/child and sibling relationship but may also show more complex relationships that are several levels deep, such as a great-grandparent/great-grandchild.

Example of hierarchy view on mobile (left) and tablet (right)
Example of hierarchy view on mobile (left) and tablet (right)

Usage

Do

Use the hierarchy view if the user needs to see the relationship of an object, such as its parent, children, and sibling objects.

Don't
  • Do not use the hierarchy view for a single level of data. Instead, use a list of standard object cells.
  • Limit the content used in the hierarchy object cell. Due to the hierarchy accessory, space is limited.

Anatomy

The hierarchy view is organized into columns depending on how many levels are expanded and the kind of device that the user is using.

Mobile

A. Navigation Bar

The navigation bar is used only for the hierarchy view on small screens. It is used to navigate up and down the hierarchy levels. It would be used for the hierarchy view on mobile and hierarchy view in a dialog.

B. Object Cell

The hierarchy view cell is based on the object cell. The only difference is the additional hierarchy accessory. For more information,  see object cells.

C. Hierarchy Icon

The hierarchy icon allows users to view an object’s children. When selected, the icon toggles from a default state to a selected state. If there are no further children, the hierarchy accessory is empty.

D. Direct Objects Count

The direct objects count shows the total number of direct child objects. Displaying the direct objects count is optional.

Hierarchy view on mobile
Hierarchy view on mobile

Tablet

E. Object Cell

The hierarchy view cell is based on the object cell. The only difference is the additional hierarchy accessory. For more information, see object cells.

F. Overflow Preview

The overflow preview displays a hint of the parent and/or child level that is outside of the viewport. This is only available on large screen sizes.

G. Hierarchy Icon

The hierarchy icon allows users to view an object’s children. When selected, the icon toggles from a default state to a selected state. If there are no further children, the hierarchy accessory is empty.

H. Direct Objects Count

The direct objects count shows the total number of direct child objects. Displaying the direct objects count is optional.

Hierarchy view on tablet
Hierarchy view on tablet

Hierarchy List Picker

I. Navigation Bar

The navigation bar is used only for the hierarchy view on small screens. It is used to navigate up and down the hierarchy levels. Users can see the hierarchy view on mobile and hierarchy view in a dialog.

J. List Picker Form Cell

The list picker allows users to select options that have different hierarchy levels. Provide the hierarchy view cell with either radio buttons for single select or checkboxes for multi-select. For more information, see list picker form cells.

Hierarchy list picker on mobile
Hierarchy list picker on mobile

Behavior and Interaction

Hierarchy Accessory

Tapping on the hierarchy accessory leads the hierarchy view to access the selected object’s children. On tablet, it expands into another column. On mobile, the screen transitions to another view. If the user has navigated into more levels than the device can display, the view shifts to display the newest views and the highest ancestor level is out of view.

Expanding the hierarchy view
Expanding the hierarchy view

Horizontal Scroll

Swiping horizontally allows the user to navigate to see additional ancestor or child levels in the hierarchy.

Horizontally scrolling the hierarchy view
Horizontally scrolling the hierarchy view

Vertical Scroll

Scrolling up and down in a column allows the user to see the siblings within a hierarchy level.

Vertically scrolling the hierarchy view
Vertically scrolling the hierarchy view

Adaptive Design

The hierarchy view can accommodate several levels of content that is organized within columns.

One Column with Navigation Bar (Mobile Only)

One column hierarchy view with navigation bar, only available on mobile
One column hierarchy view with navigation bar, only available on mobile

Two Columns (Tablet Only)

Two columns hierarchy view, only available on tablet
Two columns hierarchy view, only available on tablet

Two Columns with Overflow Preview (Tablet Portrait Only)

Two columns hierarchy view with higher and lower columns visible as preview, only available on tablet portrait
Two columns hierarchy view with higher and lower columns visible as preview, only available on tablet portrait

Three Columns (Tablet Landscape Only)

Three columns hierarchy view, only available on tablet landscape
Three columns hierarchy view, only available on tablet landscape

Three Columns with Overflow Preview (Tablet Landscape Only)

Three columns hierarchy view with higher and lower columns visible as preview, only available on tablet landscape
Three columns hierarchy view with higher and lower columns visible as preview, only available on tablet landscape

Hierarchy List Picker (Mobile)

Hierarchy view as list picker on mobile
Hierarchy view as list picker on mobile

Hierarchy List Picker (Tablet)

Hierarchy view as list picker on tablet
Hierarchy view as list picker on tablet

Resources

Development: HierarchyView

SAP Fiori for iOS: Hierarchy View