<a id="ngmobile-gui"></a>

# User interface

NextGIS Mobile app has four main elements:

* [Main screen of the app](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmobile-main-activity);
* [Layer tree](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmobile-layer-tree);
* [Feature table](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmobile-attributes-table);
* [Settings](https://docs.nextgis.com/docs_ngmobile/source/settings.html).

The app interface is developed according to [Google Material design](http://www.google.com/design/spec/material-design/introduction.html) guidelines.

<a id="ngmobile-main-activity"></a>

## Main screen

![image](docs_ngmobile/source/_static/ngmob_main_screen_en.png)

On the top of the screen you can find the **Toolbar** (controls that don’t fit into the bar are moved to the menu ![tree dots](docs_ngmobile/source/_static/ic_menu.png)):

* ![three lines](docs_ngmobile/source/_static/ic_layer_tree.png) [Layer tree](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmobile-layer-tree);
* Title of the app;
* ![circle with dashes](docs_ngmobile/source/_static/ic_location.png) [Current location](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmobile-show-my-location);
* ![person](docs_ngmobile/source/_static/ic_walk.png) [Start track](https://docs.nextgis.com/docs_ngmobile/source/tracks.html#ngmobile-record-tracks);
* [Settings](https://docs.nextgis.com/docs_ngmobile/source/settings.html);
* Help - you can view the current version of the app and open this documentation.

The majority of the main screen is occupied by the **Map** containing raster and vector layers.
You can change the order and visibility of the map in the Layer tree.

The map has the following controls:

* ![circle with "+"](docs_ngmobile/source/_static/ic_zoom_in.png) ![circle with "-"](docs_ngmobile/source/_static/ic_zoom_out.png) Zoom;
* Main actions button - ![circle with "+"](docs_ngmobile/source/_static/ic_big_plus.png) big round blue button with a + in the bottom right corner.

Also you can enable:

* ![ruler](docs_ngmobile/source/_static/ic_ruler_round.png) Ruler to activate measuring (enable: Settings ‣ Map ‣ Ruler);
* Scale ruler (shown in the bottom left corner, enable: Settings ‣ Map ‣ Show scale ruler).

At the bottom of the main window the **Status panel** can be displayed (configured in Settings ‣ Map ‣ Show status info panel). Depending on the screen size the Status panel can be one or two rows.

![image](docs_ngmobile/source/_static/ngmob_status_panel_en.png)

The Status panel displays the following information, if geolocation is on:

* coordinates (latitude and longitude);
* current zoom level (enabled in Settings –> Map –> Show zoom level);
* ![pin](docs_ngmobile/source/_static/ic_accuracy.png) Positioning signal source (mobile networks/Wi-Fi or satellite) and number of captured satellites (if positioning is carried out with help of [GPS](../../glossary.html.md#term-GPS)/[GLONASS](../../glossary.html.md#term-GLONASS));
* ![stripes with arrows](docs_ngmobile/source/_static/ic_altitude.png) altitude in meters;
* ![dial](docs_ngmobile/source/_static/ic_speed.png) speed in kmph.

<a id="ngmobile-layer-tree"></a>

## Layer tree

Layer tree is used to display and manage the contents of the map, the order of the layers and their visibility.  Tap ![three lines](docs_ngmobile/source/_static/ic_layer_tree.png) in the top left corner to open it.

Action on layers can be found in the [layer menu](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmob-layer-menu) ![tree dots](docs_ngmobile/source/_static/ic_menu_grey.png).

![image](docs_ngmobile/source/_static/ngmobile_layer_tree_en.png)

The numbers indicate:

1. time of the last synchronizations;
2. ![circle arrows](docs_ngmobile/source/_static/ic_sync.png) sync indicator;
3. ![double squares with "+"](docs_ngmobile/source/_static/button_add_layer.png) [“Add data”](https://docs.nextgis.com/docs_ngmobile/source/main.html#layer-tree-menu) menu;
4. layer type;
5. layer name;
6. ![eye](docs_ngmobile/source/_static/ic_eye.png) layer visibility control;
7. ![tree dots](docs_ngmobile/source/_static/ic_menu_grey.png) [layer menu](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmob-layer-menu) .

Layers are displayed in the order they are in the layer tree, higher layers covering the lower layers. To change the order, hold a layer and drag it to the new place.

To toggle layer visibility tap on the eye icon ![eye](docs_ngmobile/source/_static/ic_eye.png) next to its name.

<!-- _layer_tree_menu -->

## Add data

The button “Add data” ![double squares with "+"](docs_ngmobile/source/_static/button_add_layer.png) at the top of the layer tree panel allows to:

* [Create a new layer from scratch](https://docs.nextgis.com/docs_ngmobile/source/load_geodata.html#ngmobile-create-vector);
* [Open a local file](https://docs.nextgis.com/docs_ngmobile/source/load_geodata.html#ngmobile-import-vector) stored on your device;
* [Open link to a Web GIS layer to add it](https://docs.nextgis.com/docs_ngmobile/source/ngw_load.html#ngmob-url);
* [Add geoservice](https://docs.nextgis.com/docs_ngmobile/source/load_geodata.html#ngmobile-add-geoservice) from the [QuickMapServices catalog](https://qms.nextgis.com/) or [a custom tile service](https://docs.nextgis.com/docs_ngmobile/source/load_geodata.html#ngmobile-tile-service);
* [Add layer from Web GIS](https://docs.nextgis.com/docs_ngmobile/source/ngw_load.html#ngmobile-add-layer-webgis), cloud or on-premise.

![image](docs_ngmobile/source/_static/ngm_add_data_en.png)

<a id="ngmob-layer-menu"></a>

## Layer menu

To open the layer menu, open the Layer tree panel ![three lines](docs_ngmobile/source/_static/ic_layer_tree.png) and click on the tree dots ![tree dots](docs_ngmobile/source/_static/ic_menu_grey.png) next to the layer.

The contents of the menu depend on the layer type (vector or raster).

![image](docs_ngmobile/source/_static/ngm_layer_context_menu_en.png)

In the layer menu there are the following actions:

* Zoom to extent;
* [Feature table](https://docs.nextgis.com/docs_ngmobile/source/main.html#ngmobile-attributes-table) - for vector layers;
* [Share](https://docs.nextgis.com/docs_ngmobile/source/share.html);
* [Send to WebGIS](https://docs.nextgis.com/docs_ngmobile/source/ngw_load.html#ngmobile-upload) - for local layers;
* [Edit](https://docs.nextgis.com/docs_ngmobile/source/editing.html) - for vector layers;
* Delete;
* Settings - opens the [layer settings](https://docs.nextgis.com/docs_ngmobile/source/layer_settings.html).

#### WARNING
When you click **Delete**, the layer is removed from the map and all its data is wiped from the device memory.

<a id="ngmobile-attributes-table"></a>

## Feature table

Features table is designed for displaying and managing the contents of a vector layer in table format.

To open the Feature table, open the Layer tree panel open the menu ![tree dots](docs_ngmobile/source/_static/ic_menu_grey.png) of the layer and select **Feature table**.

![image](docs_ngmobile/source/_static/open_feature_table_en.png)

.

![image](docs_ngmobile/source/_static/attribute_table_en.png)

Tap on a row to select a feature. A toolbar appears at the bottom of the screen.

![image](docs_ngmobile/source/_static/feature_table_tools_en.png)

The numbers indicate:

1. ![arrow to the left](docs_ngmobile/source/_static/ic_back.png) go back to the main screen;
2. layer name;
3. ![magnifying glass](docs_ngmobile/source/_static/ic_search.png) search;
4. ![X](docs_ngmobile/source/_static/ic_cancel.png) clear selection;
5. ID of the selected feature;
6. ![magnifying glass](docs_ngmobile/source/_static/ic_search.png) show the feature on the map (if you have many features close together, firt zoom in so that only few of them are visible at a time, then select the feature in the feature table and click this icon. The map will pan to the feature staying on the same zoom level);
7. ![trash can](docs_ngmobile/source/_static/ic_delete.png) delete selected feature;
8. ![pencil](docs_ngmobile/source/_static/ic_edit.png) open attribute editing form.

#### WARNING
When you tap “Delete” ![trash can](docs_ngmobile/source/_static/ic_delete.png), a confirmation pop-up appears. Double-check if you’ve selected the correct feature before confirming. You cannot undo deleting a feature!

Feature table has a search bar. See it in action in our video:

<iframe width="560" height="315" src="https://www.youtube.com/embed/9zKwvKlQWyg?si=S6WIzdLE6PRndbV3" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Watch on [YouTube](https://youtu.be/9zKwvKlQWyg?si=DVXos2s3V1Jn4-Oe).

<a id="ngmobile-useful-facilities"></a>

## Useful features

The main screen has some useful tools, especially handy for fieldwork.

<a id="ngmobile-show-my-location"></a>

### Show my location

To view your current location, tap on ![circle with dashes](docs_ngmobile/source/_static/ic_location.png) button in the top right corner. The map is panned to the device location which is marked by ![crossed dark blue circle](docs_ngmobile/source/_static/ic_location_standing.png).

![image](docs_ngmobile/source/_static/ngm_show_location_en.png)

If the Status panel is [enabled in the settings](https://docs.nextgis.com/docs_ngmobile/source/settings.html#ngmobile-settings-map), it too shows information on current location.

#### NOTE
To use this option, make sure the app has permission to access your device location (check in your device settings, the exact place depends on the model) and the geolocation is on.

<a id="ngmobile-measure"></a>

### Measure distance and area

You can measure distance between two points on the map.

Tap on the ruler button ![ruler](docs_ngmobile/source/_static/ic_ruler_round.png) in the top right corner.

Starting point appears on the screen. Use the cursor ![dark blue arrow](docs_ngmobile/source/_static/ic_action_anchor.png) to move the point to where you need it. Then tap on the screen to add the second point. A line connecting the two points appears, its length is displayed in the top panel.

![image](docs_ngmobile/source/_static/ngm_measure_distance_en.png)

To exit the measuring mode tap the blue tick in the bottom right corner of the screen.

You can adjust the position of any of the points. Tap on it and move it using the cursor.

Add more points to measure the length of a string of lines as well as the area of the resulting polygon.

![image](docs_ngmobile/source/_static/ngm_measure_area_en.png)

#### NOTE
To use this tool, enable it in `Settings -> Map -> Show measuring button`.

<a id="ngmobile-feature-info"></a>

### View feature info

Short tap on a feature opens a panel at the bottom of the screen with only one active tool - information ![i in a circle](docs_ngmobile/source/_static/ic_info.png). Tap it to view the attribute values and attachments of the feature.

![image](docs_ngmobile/source/_static/ngm_select_feature_short_en.png)

Photos attached to the feature also can be viewed.

![image](docs_ngmobile/source/_static/ngm_view_photo_en.png)

If there are multiple features in the area of your tap, select the one you need from the list.
