@vertigis/viewer-spec 61.12.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,14 @@ 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";
31
+ /**
32
+ * A map attribution visibility.
33
+ */
34
+ export type MapAttributionVisibility = "default" | "visible" | "hidden";
27
35
  /**
28
36
  * Configuration for a print form component.
29
37
  */
@@ -56,6 +64,30 @@ export interface PrintFormModelProperties extends ComponentModelProperties {
56
64
  * Whether the line print type should be enabled.
57
65
  */
58
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;
83
+ /**
84
+ * Whether the map attribution selection should be enabled.
85
+ */
86
+ mapAttributionEnabled?: boolean;
87
+ /**
88
+ * The selected map attribution visibility.
89
+ */
90
+ mapAttributionVisibility?: MapAttributionVisibility;
59
91
  /**
60
92
  * Whether strict mode for prints should be enabled.
61
93
  */
@@ -121,6 +121,15 @@ export interface MapOptions {
121
121
  * use a negative value.
122
122
  */
123
123
  rotation?: number;
124
+ /**
125
+ * Whether to show the map attribution for the exported layout print.
126
+ * Requires a map attribution element in the related layout, otherwise the
127
+ * ArcGIS default map attribution is automatically visible on the map.
128
+ * Overwrites the visibility configured for the layout's map attribution
129
+ * element. If this property is undefined, the configured map attribution
130
+ * element visibility is used.
131
+ */
132
+ showAttribution?: boolean;
124
133
  }
125
134
  /**
126
135
  * Represents the export options.
@@ -151,6 +160,13 @@ export interface LegendOptions {
151
160
  * Engine.
152
161
  */
153
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;
154
170
  /**
155
171
  * Specifies the operational layers whose legends will be added to the
156
172
  * layout.