-
Notifications
You must be signed in to change notification settings - Fork 9
GPVMapTabLayer
Peter Girard edited this page Apr 29, 2017
·
2 revisions
The GPVMapTabLayer table links layers to map tabs. A map tab can have multiple layers, and a layer can appear in multiple map tabs, so this table manages the many-to-many relationship.
- MapTabID - The ID of the map tab (not null). Links to GPVMapTab.
- LayerID - The ID of the layer (not null). Links to GPVLayer.
- AllowTarget - Specifies whether this layer can be a target layer in this map tab, any positive number for yes and 0 or less for no. If null, defaults to 0 (no). Layers will sort on this number and then alphabetically in the target layer dropdown list (top select tab pulldown).
- AllowSelection - Specifies whether this layer can be a selection layer in this map tab, any positive number for yes and 0 or less for no. If null, defaults to 0 (no). Layers will sort on this number and then alphabetically in the selection layer dropdown list (second select tab pulldown).
- ShowInLegend - Specifies whether this layer should be shown in the legend, 1 for yes and 0 for no. If null, defaults to 0 (no). Note that the layer will still draw on the map even if its not shown on the legend.
-
CheckInLegend - Specifies whether this layer is controlled by a check box and if so, the initial state of that check box. Note that InteractiveMap in the linked GPVMapTab row must also be enabled for the check box to appear. CheckInLegend has three possible settings:
- 1 - show a check box for this layer and set it as checked
- 0 - show a check box for this layer and set it as unchecked
- -1 - do not show a check box for this layer, the default when null
- IsExclusive - Specifies whether this layer should be a member of an exclusive set of layers, 1 for yes and 0 for no. If null, defaults to 0 (no). In the legend, the check boxes for exclusive layers are presented as radio buttons so that only one of the layers can be drawn at a time. Exclusivity only applies to layers in the same group and does not extend between groups.
- ShowInPrintLegend - Specifies whether this layer should appear in the printable map legend when ShowInLegend, CheckInLegend, scale trapping and the check box setting allow it, 1 for yes and 0 for no. If null, defaults to 1 (yes). This is only used to remove a layer from the printable legend when it would otherwise appear.