# Plugin interface

![NextGIS Connect panel](docs_ngconnect/source/_static/connect_panel_en_3.png)

Buttons on the panel:

* ![cloud with arrow down](docs_ngconnect/source/_static/button_cloud_download.png) [Add to QGIS](https://docs.nextgis.com/docs_ngconnect/source/resources.html)
* ![cloud with arrow up](docs_ngconnect/source/_static/button_cloud_upload.png) [Add to Web GIS](https://docs.nextgis.com/docs_ngconnect/source/resources.html#ng-connect-export)
* ![pointer with blue globe](docs_ngconnect/source/_static/button_c_identify.png) [Identify features in Web GIS layers](https://docs.nextgis.com/docs_ngconnect/source/resources.html#ngc-identify)
* ![folder with a +](docs_ngconnect/source/_static/button_newfolder.png) [Create resource group](https://docs.nextgis.com/docs_ngconnect/source/manage.html#ng-connect-res-group) or ![rectangle with a +](docs_ngconnect/source/_static/button_c_new_layer.png) [a new vector layer](https://docs.nextgis.com/docs_ngconnect/source/manage.html#new-vector-layer)
* ![funnel](docs_ngconnect/source/_static/button_filter.png) [Search and filter resources](https://docs.nextgis.com/docs_ngconnect/source/filter.html)
* ![round arrow](docs_ngconnect/source/_static/button_refresh.png) [Refresh resource tree](https://docs.nextgis.com/docs_ngconnect/source/panel.html#connect-refresh)
* ![map with magnifying glass](docs_ngconnect/source/_static/button_openmap.png) [Open Web Map in browser](https://docs.nextgis.com/docs_ngconnect/source/panel.html#connect-open-webmap)
* ![blue gear](docs_ngconnect/source/_static/button_settings.png) [Plugin settings](https://docs.nextgis.com/docs_ngconnect/source/ngc_settings.html)
* ![question mark](docs_ngconnect/source/_static/button_help.png) Help - opens this manual

If no connection is set at the moment, the following message will be shown:

![Connect your first Web GIS](docs_ngconnect/source/_static/ngc_no_connection_en.png)

If the previously used version of NextGIS Connect didn’t support QGIS authentication, after the update you will need to convert all existing connections and authentication data. You can do it in the NextGIS Connect panel or in the [plugin settings](https://docs.nextgis.com/docs_ngconnect/source/ngc_settings.html).

![NextGIS Connect panel after update](docs_ngconnect/source/_static/connect_update_convert_en.png)![NextGIS Connect settings after update](docs_ngconnect/source/_static/ngc_upd_convert_menu_en.png)

<a id="connect-refresh"></a>

## Refresh

Click ![round arrow](docs_ngconnect/source/_static/button_refresh.png) to refresh the entire Web GIS resource tree so that it’s up to date with the current state of the server.

![Refresh resource tree](docs_ngconnect/source/_static/ngc_reload_en.png)

<a id="connect-open-webmap"></a>

## Display in browser

If a Web Map (

```
|resource_webmap|
```

 NGW Web Map), a gallery, a layer or a style is selected in NextGIS Connect resource tree, click ![map with magnifying glass](docs_ngconnect/source/_static/button_openmap.png) to preview the resource in a new tab of the default browser.

![Open Web Map in browser](docs_ngconnect/source/_static/ngc_open_webmap_en.png)

Context menu also allows to display a Web Map, gallery, layer or style in browser or to [open the Web GIS page of any resource](https://docs.nextgis.com/docs_ngconnect/source/panel.html#ng-connect-cont-menu).

<a id="ng-connect-cont-menu"></a>

## Context Menu

Context menu may differ depending on resource type.

![Context menu for a qgis vector style](docs_ngconnect/source/_static/ngc_context_menu_en.png)

Common options for all resource types:

- Open in WebGIS – open the page of the selected resource in Web GIS, also can be donde from the Layers panel, see [Fig. 937.](#ngc-open-from-layertree-pic);
- Rename resource;
- [Delete resource](https://docs.nextgis.com/docs_ngconnect/source/manage.html#connect-resource-delete);
- Tree - display or hide all child resources.

Variable options – depend on resource type:

- Add to QGIS and Add to QGIS as - [see above](https://docs.nextgis.com/docs_ngconnect/source/resources.html#ng-connect-export) for the types of resources that can be added and other details;
- [View in browser](https://docs.nextgis.com/docs_ngconnect/source/panel.html#connect-open-webmap) - available for Web Maps, galleries, layers and styles; opens a web client displaying the map/gallery or the preview of the layer or style;
- Layer history - available for vector layers with versioning enabled, opens the [history of actions for the layer](https://docs.nextgis.com/docs_ngweb/source/version.html#vers-ngw-view-history) in your browser;
- Create - you can create a new resource:
  - [Web Map](https://docs.nextgis.com/docs_ngconnect/source/manage.html#web-map) - available for: Vector layer, Vector style, Raster layer, WMS Layer;
  - [WFS service](https://docs.nextgis.com/docs_ngconnect/source/resources.html#wfs) - only for Vector layer and PostGIS layer;
  - [OGC API - Featues service](https://docs.nextgis.com/docs_ngconnect/source/resources.html#ogc-api-features) - only for Vector layer and PostGIS layer;
  - [WMS service](https://docs.nextgis.com/docs_ngconnect/source/resources.html#wms) - only for Vector layer, Raster layer and PostGIS layer;
  - [Form for data collection](https://docs.nextgis.com/docs_ngweb/source/collector.html#collector-create-form) - only for Vector layer, opens in browsers.
- [Download as QML](https://docs.nextgis.com/docs_ngconnect/source/export.html#connect-save-style) - only available for QGIS Vector style and QGIS Raster style;
- [Copy style](https://docs.nextgis.com/docs_ngconnect/source/edit.html#connect-style-copy) - only available for QGIS Vector style and QGIS Raster style;
- [Duplicate resource](https://docs.nextgis.com/docs_ngcom/source/ngqgis_connect.html#ngcom-connect-resource-double) - available only for Vector layer and Raster layer;
- [Replace data](https://docs.nextgis.com/docs_ngconnect/source/edit.html#connect-data-overwrite) - only available for Vector layer.

The plugin also allows you to navigate to the Web GIS data directly from the the Layers panel in QGIS. In the layer’s context menu find “NextGIS Connect” and press “Open in Web GIS”.

![Context menu in the layer tree](docs_ngconnect/source/_static/ngc_open_from_layertree_en.png)
