<a id="ngcom-webmap-create"></a>

# How to create a Web Map

[Web GIS](description.html.md#ngcom-description) allows you to display geodata on Web Map and view it through built-in [web client](../../docs_ngweb/source/webmaps_client.html.md#ngw-webmaps-client).

## Create Web Map

#### WARNING
Make sure all [Vector layers](data_upload.html.md#ngcom-vector-layer), [Raster layers](data_upload.html.md#ngcom-raster-layer) and [PostGIS layers](data_connect.html.md#ngcom-postgis-layer) which you want to display on the new Web Map have [Styles](styles.html.md#ngcom-styles) created for them.

#### NOTE
Your Web GIS already has one ready-to-use Web Map. You can use it for geodata visualization or create an unlimited number of new Web Maps. By default there’s one basemap added to this Web Map - OpenStreetMap Standard. As soon as you add any other additional basemap to the Web Map, OpenStreetMap Standard will switch off.

1. Open Resource group where you want to create Web Map (by default, from the main page of Web GIS you access the Main resource group);
2. Press **Create resource** and select **Web Map**;
3. In the opened dialog, go to Resource tab and type a name for the new Web Map in the field Display name;
4. Go to Layers tab and using Add layer dialog window select the resources ([Basemaps](data_connect.html.md#ngcom-basemap-layer), [Styles](styles.html.md#ngcom-styles) or [WMS layers](data_connect.html.md#ngcom-wms-layer)) which you want to display on your Web Map;
5. Select layers one-by-one using a layer tree and set their properties in the right section of the dialog window. For [WMS layers](data_connect.html.md#ngcom-wms-layer) it is recommended to select Image as an adapter. If you select Tiles adapter, you will quickly use up all available connections and other layers on the map will not be shown until these connections are free again.
6. The Settings tab is used to allow layer editing and enable annotations, set Web Map [extent](../../glossary.html.md#term-Extent) and a title if it needs to be different than resource name.
7. Press **Create** button. If Web Map is created successfully, you’ll see its name in Child resources pane of the relevant Resource group.

#### NOTE
You can set the content of geodata attributes displayed on the Web Map in Vector layers and PostGIS layers settings. Read more about this option [here](../../docs_ngweb/source/layers_settings.html.md#ngw-attributes-edit).

#### NOTE
When data is uploaded to Web GIS [with desktop app QGIS](../../docs_ngconnect/source/ngc_data_transfer.html.md#qgis-project), a Web Map can be created automatically.

Read more about Web Map creation [here](../../docs_ngweb/source/webmaps_admin.html.md#ngw-webmaps-admin).

<a id="ngcom-webmap-create-open"></a>

## Open Web Map

1. Go to the Properties window of the created Web Map from the relevant Resource group;
2. Select Web Map ‣ Display on the right side of Web GIS [admin console](../../docs_ngweb/source/admin_interface.html.md#ngw-admin-interface). Web Map will open in a web client which allows to view and edit geodata.

Read more about Web Map web client [here](../../docs_ngweb/source/webmaps_client.html.md#ngw-webmaps-client).

#### WARNING
We do not recommend turning on more than 1 [WMS layer](data_connect.html.md#ngcom-wms-layer) on Free/Mini plan and 3 WMS layers on Premium plan. Otherwise slow connections with external WMS servers might use up all available similtaneous connections, slowing down considerably (or stopping altogher) the rendering of all your Web Maps and making [admin console](../../docs_ngweb/source/admin_interface.html.md#ngw-admin-interface) unavailable.

<a id="ngcom-webmap-create-desc"></a>

## Add a description

1. Open Resource group containing the Web Map;
2. Click on **Update** (pencil icon) next to your Web Map;
3. Switch to **Description** tab, set descriptive text, hyperlinks and insert a map legend image via URL or paste it from the clipboard;
4. Click on **Save** button;
5. Display Web Map. Menu bar with **Description** button (*info* icon) is located on the left side of the workspace. Information presented there reflects the description you’ve just set;
6. To share Web Map with the description open, copy the link from your browser address bar. The link should end with **panel=info**. Clicking on such a link will load a Web Map with description opened.

[Example](https://demo.nextgis.com/resource/5201/display?panel=info) of a Web Map showing a legend.

![image](docs_ngcom/source/_static/Legend_1_en.png)

Legend is also viewed in the layer tree, see [more on how to set it up](https://docs.nextgis.com/docs_ngcom/source/legend.html).
