General Settings
Table of contents
The layer general settings section is accessible by clicking on the settings drop-down menu, then selecting General in the layer details section. This section allows you to specify basic layer parameters. These parameters are described below, along with the visibility thresholds.
General
General | |
---|---|
Name | The name for the layer. Names attributed to layers in the same project must be unique. By default, the name of the associated spatial data source is used. |
Description | An optional text to describe the layer. In JMap applications, this text can be viewed by users in a mouseover bubble on the layer name. |
Published | Determines if the layer is published or not. See Publishing layers for more information. |
Visible | Determines if the layer is visible or not when the project is opened. Users can make layers visible or invisible in JMap applications. |
Selectable | Determines if elements of the layer will be selectable or not when the project is opened. Users can modify selection options in JMap applications. By default, the elements of the new layers that you create are not selectable. |
Show in overview | Determines if the layer will appear in the map overview, if present. This overview simplifies map navigation. |
Listed | Determines if the layer will be listed in the layer manager in JMap applications. A layer that is not listed appears on the map normally. |
Scale thresholds
Scale thresholds are used to control the visibility of a layer according to the scale of the displayed map. This is useful when you want to hide elements of a specific layer beyond (or under) a certain scale. For example, you might not want to display the local street layer when looking at the whole territory of a country. Using the thresholds, you could specify that the local streets are to be visible only when looking at a map with a scale greater than 1:100000. In that case, you would specify a minimum scale of 1:100000, without indicating a maximum scale.
Scale thresholds | |
---|---|
Minimum scale | Minimum scale in order for the layer to be visible. Allows the layer to become invisible when the user zooms out too much. |
Maximum scale | The maximum scale in order for the layer to be visible. Allows the layer to become invisible when the user zooms in too much. |
Non modifiable | (Applies to JMap Pro only) Determines if the users are allowed to modify these values. Modifying these scales on the JMap Pro side for layers that contain a high number of elements could cause very long queries that use a lot of resources or even lead to unusual responses from the JMap Pro application or JMap Server. |
Dynamic refresh
The dynamic refresh of the layer is used to automatically reload the data of a layer after a configured delay, without the need for the user to manipulate the map. This can be useful for layers that contain data that is updated regularly, such as layers of vehicle tracking (AVL). This is an alternative to the use of layers by region to have dynamic data.
Dynamic refresh | |
---|---|
Dynamic | Select this option to activate the dynamic refresh. |
Refresh every | Specify the delay between each refresh. |