Web Map viewer#

A special web application for viewing Web Maps is included in NextGIS Web (see Fig. 505.).

To view the Web Map press magnifying glass on map next to its name in the resource list or open the resource page and select Display in the Actions panel on the right. The following page will open:

../../_images/webmap_client_eng_4.png

Fig. 505. The interface of viewer client application#

Numbers indicate:

Zoom and rotation#

The status bar (see Fig. 505.) displays the current scale of the map. If you use the identify tool to click on the map, a pop-up window will show the coordinates of the point you clicked on and list map features if present in this point of the map.

You can change the scale of the map using zoom tools (see item 5 in Fig. 505.). To reset the map to its initial extent, press the house icon.

There are some options to work with map:

  • if you click on alt + shift simultaneously and execute round cursor movements around a monitor, a map will turn for a certain degrees to the right or to the left,

  • if you simultaneously click on shift and select of the necessary part of a map on a monitor by a cursor, you will highlight this part and zoom in it on the map.

To view your current location on the map, press button_my_location. See how it works in our video:

Watch on youtube.

Panels#

On the left side of the workspace are the functional panels:

Map tools#

Tools to work with the Web Map (see Fig. 505. item 6) named from left to the right:

Top left:

  • button_zoom zoom;

  • button_home back to initial extent;

  • button_my_location show my location.

Bottom left:

See detailed descriptions below.

Measuring tools#

Map tools allow to measure distance (straight or segmented line) and area. Activate the tool and draw a line by clicking on the map. Double-click to finish line creation. You can draw multiple measuring lines on a map and compare results. To delete one of the measurement lines, press X on the measurement results lable. To clear selection, press the tool button again.

../../_images/ngw_map_measure_line_en.png

Fig. 506. Measuring distance on the Web Map#

To measure area draw a custom polygon on the map. Double-click to finish the polygon.

../../_images/ngw_map_measure_area_en.png

Fig. 507. Measuring areas on the Web Map#

Measurement units are selected in the Control panel

Swipe#

Swipe makes the selected layer transparent to one side of the line.

To select a layer click on it in the layer tree (it will be highlighted in blue), then press the swipe button rectangle with vertical line (see Fig. 508.).

../../_images/choose_layer_swipe_en_2.png

Fig. 508. Horizontal swipe. Selected layer is marked in blue#

Use the square in the center to move the swipe and the circle on the line to rotate it 90 degrees.

Swipe makes it possible to “peek” under the selected layer and compare it with the substrate or another layer on the map. The tool will be useful if we want to compare changes in the terrain by satellite images for different dates (for example, to identify forest felling or floods).

../../_images/swiped_satellite_en.png

Fig. 509. Satellite image after applying the vertical swipe#

Show extent or cursor coordinates#

A field can be added to the Web Map interface to show the coordinates of the current cursor position or the extent of the visible map area. To activate it, press the button_extent_coord button in the map tools panel.

The icon on the right indicates what is displayed. Click on it to switch between modes.

../../_images/web_client_coordinates.png

Fig. 510. Cursor coordinates mode#

../../_images/web_client_extent.png

Fig. 511. Extent mode#

Share#

In the panel_share_intext “Share” panel you can:

  • copy a link to the Web Map (the link includes zoom level and layer visibility);

  • add the visible fragment of the Web Map to favorites;

  • configure and copy the code for embedding the Web Map to a Web site.

../../_images/web_client_share_en.png

Fig. 512. “Share” panel#

Legend in the layers tree#

The Layer tree panel panel_layers_small contains a list of all layer styles added to the Web Map.

The panel allows to:

  • Disable/Enable layer visibility by ticking the checkbox on the left. You can also hide parts of a layer by selecting items in the Web Map lengend. It’s helpful for big projects where one layer may contain a variety of features grouped by value of an attribute.

  • Change the order of the layers by dragging them within the layer tree. Refresh the page to restore the original order.

Click on the three dots next to the panel title to open the menu. In this menu you can:

  • table Zoom to all layers;

  • crossed out eye Hide all layers;

  • arrow counterclockwise Reset layers to the initial visibility setting without reloading the page,

  • table Add layers.

../../_images/webmap_layers_panel_menu_en_2.png

Fig. 514. Layer panel menu#

If you want the current state of the map legend to be the default for this Web Map, click floppy disk on blue in the bottom left corner.

More on how to configure the legend.

Functionality of the layer panel is presented in our video:

Watch on youtube.

Layer menu#

Click on the three dots to the right of the layer name to open its menu. The following options are available:

../../_images/ngweb_webmap_layer_menu_en_3.png

Fig. 515. Layer menu on the Web Map#

  • drop To change the transparency of the layer use the slider.

  • table Feature table - opens the layer’s feature table on the map.

  • pencil Edit - activates the ability to to modify the features of the selected layer. To complete the process, open the dropdown menu again and select Stop editing (read more here) or click floppy disk on white on the map.

  • funnel Filter - display only the features fitting set conditions.

  • lined rectangle Description - view the description of the selected layer, if it has one.

  • Х Remove layer from the legend (to reset it, click arrow counterclockwise Reset layers in the panel menu).

  • table Zoom to layer - sets the map extent so that all features of the select area are in it.

  • palette Edit style resource, opens in a pop-up window, more on style settings.

  • gear Open layer resource, opens in a pop-up window, more on vector layer settings.

  • three lines with handles Layer properties on this particular Web Map (more about layes on a Web Map).

When the Identifiable flag is on, a click on the map opens the Identify panel with the information about the layer feature. Untick it to have the layer ignored by the identification.

See how it works in our video:

Watch on youtube.

Filter#

For any vector layer you can add a filter. Select Filter in the layer menu. In the pop-up window add one or several conditions. If you add multiple conditions, you can select if all of them must be satisfied at once or any one of them is sufficient.

../../_images/web_map_filter_add_en.png

Fig. 516. Filter condition#

Click Apply. Only the features that answer the conditions are still displayed on the Web Map and in the Feature table.

../../_images/web_map_filter_result_en.png

Fig. 517. Filtered features: lakes larger than 400 square kilometers#

You can also filter the features within a selected area.

Feature identification#

To get information about features on the Web Map activate the panel_ident_small identify panel. Click anywhere on the map to get info on vector features and raster pixels.

../../_images/ngw_panel_id_en.png

Fig. 518. Identify panel with feature information#

If a raster layer has raster attribute table, classes from it are displayed alongside the numerical value of the pixel.

Note

To use this feature, create raster layer via Web interface. Combine the .TIF and the corresponding .XML file into a ZIP-arhive. Then select this archive while creating a raster layer.

../../_images/landcover_rat_ident_en.png

Fig. 519. Displaying a class from RAT#

If there are multiple features (for example a point and a line going through it), the identify panel will show the feature of the topmost layer. To view information on the other features click on the downward arrow to the right of the feature name and select the feature from the dropdown list.

../../_images/ngw_panel_id_select_feature_en_2.png

Fig. 520. Selecting feature in the identification panel#

To clear selection, click on X in the bottom left corner. When no feature is selected, this button looks like this: panel_ident_small.

To configure how far from the clicks the features can be to be identified and what parameters are displayed in the panel go to the Control panel.

You can turn off identification for a particular layer in the layer menu. Also, you can disable identification for individual layers and modify their order in the Web Map settings.

To modify attribute values of the feature, click on the pencil icon in the top right corner of the panel (more details).

../../_images/ngw_panel_id_edit_en.png

Fig. 521. Opening attribute editing window from the panel#

Basemap#

To change a basemap use the dropdown list (see Fig. 505.). By default you can select:

  • OpenStreetMap

  • None - disable the basemap so that a white background is shown instead.

You can add other basemaps, see the instructions in Adding resources.

Usually a basemap is shared by thrid-party services in the Internet. Users can not influence their content.

If the Internet access is expected to be poor or if the Web GIS is deployed in local network without access to the Internet, you can add base data as Web GIS layers (for example, a Tileset) or deploy NextGIS GeoServices to host your own basemaps.

Contact Web GIS owner#

User viewing a publicly available Web Map can send a message to the Web Map administrator.

../../_images/webmap_getintouch_en.png

Fig. 523. Get in touch with Web GIS owner#

Clicking this icon redirects to the account page (you have to log in with your NextGIS ID). Fill the message form:

../../_images/webmap_owner_contact_en.png

Fig. 524. Message form#

The Web GIS administrator will receive your message and email address so that they can reply by email.