@vertigis/viewer-spec 61.13.0 → 61.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,6 +24,10 @@ export interface SpatialReferenceGrid {
24
24
  */
25
25
  wkt?: string;
26
26
  }
27
+ /**
28
+ * Legend items visibility.
29
+ */
30
+ export type LegendItemsVisibility = "default" | "visible-all" | "visible-extent";
27
31
  /**
28
32
  * A map attribution visibility.
29
33
  */
@@ -60,6 +64,22 @@ export interface PrintFormModelProperties extends ComponentModelProperties {
60
64
  * Whether the line print type should be enabled.
61
65
  */
62
66
  linePrintEnabled?: boolean;
67
+ /**
68
+ * Whether the legend items visibility selection should be enabled.
69
+ */
70
+ legendItemsVisibilityEnabled?: boolean;
71
+ /**
72
+ * The selected legend items visibility.
73
+ */
74
+ legendItemsVisibility?: LegendItemsVisibility;
75
+ /**
76
+ * Whether the printed legend should be as compact as possible. E.g. If
77
+ * enabled, legend items of composite dynamic layers are not exported to
78
+ * separate legend pages. Export to seperate legend pages groups related
79
+ * features together and provides a better overview, but usually causes
80
+ * additional legend pages to be exported.
81
+ */
82
+ legendCompactModeEnabled?: boolean;
63
83
  /**
64
84
  * Whether the map attribution selection should be enabled.
65
85
  */
@@ -160,6 +160,13 @@ export interface LegendOptions {
160
160
  * Engine.
161
161
  */
162
162
  operationalLayersAutoSet?: boolean;
163
+ /**
164
+ * Whether the legend items of visible layers should only be exported if
165
+ * related features are visible in the print extent. If not defined, the
166
+ * value from the layout's default legend item (ArcGIS Pro: 'Only show
167
+ * feature visible in the map extent') is used.
168
+ */
169
+ itemsAutoVisibility?: boolean;
163
170
  /**
164
171
  * Specifies the operational layers whose legends will be added to the
165
172
  * layout.