2.8. Administration of web map

There could be several web maps in NextGIS Web. For example one map is for work, another for public access and third for testing of layer styles.

Web maps have their own URL addresses. You can manage display web map access permission for different users and groups.

Web map display layers. User can turn them on and off. You can set the order for layers, define layers default visibility, create group layers. Groups on a map does not relate to groups of layers in control panel. There is no option to transfer layers between groups. Groups may be nested.

2.8.1. Creation of web map

To add a web map navigate to a resource group where you want to create a map. In Actions pane select Create resource ‣ Web map. Create resource dialog for a web map is presented on Pic. 2.38..

../../_images/admin_webmap_name.png

Pic. 2.38. Create resource dialog for web map.

Enter web map display name that would be visible in administrator interface and in map layer tree. Fields Keyname and Description are non-required.

Switch from Resource tab to Extent and bookmarks. A tab for Extent and bookmarks will open:numref:admin_webmap_bbox.

../../_images/admin_webmap_bbox.png

Pic. 2.39. An Extent and bookmarks tab of create resource window.

Setup an extent.

Note

Coordinates for extent could be generated using third-party services http://boundingbox.klokantech.com/ (select csv in a list), http://lxbarth.com/bbox.

You can select a vector layer for bookmarks. If layer is set the client will have a menu with bookmarks with names defined by Label attribute.

Navigate to Layers tab. This tab is used for adding layer joining them to groups. These actions could be performed using corresponding buttons Add layer and Add group.

When a layer is added you set its style. Settings for layers on web map are presented on Pic. 2.40...

../../_images/admin_webmap_layers.png

Pic. 2.40. Layers tab of create resource dialog.

A checkbox Enable sets default visibility of a layer.

Field Adapter is recommended to be set to Tiles if there is no special requirements.

For Scale parameters you may enter a scale range in the following format 1 : 10 000.

Scale range could be set in a layer style and in layer settings. If layer should be displayed in a range of scales it is better to set this in layer properties, instead of a style.

Note

If you set a scale range only in style empty tiles will be generated for distribution which is less efficient.

After a creation of map content and adjusting settings for all layers click a Save button. A saved map will be shown in a list of maps. In a list of web maps click a Display link to open a web map in a client application. Web map client application is described in section A viewer for web maps. Address which is used for web client may be transfered to other users because it is static.

Note

Address will become inavailable if a web map is deleted.