@@ -87,36 +87,132 @@ class CORE_EXPORT QgsMapLayer : public QObject
87
87
*/
88
88
QString name () const ;
89
89
90
- /* * Get the original name of the layer */
90
+ /* * Get the original name of the layer
91
+ * @return the original layer name
92
+ */
91
93
QString originalName () const { return mLayerOrigName ; }
92
94
95
+ /* * Set the title of the layer
96
+ * used by QGIS Server in GetCapabilities request
97
+ * @return the layer title
98
+ */
93
99
void setTitle ( const QString& title ) { mTitle = title; }
100
+ /* * Get the title of the layer
101
+ * used by QGIS Server in GetCapabilities request
102
+ * @return the layer title
103
+ */
94
104
QString title () const { return mTitle ; }
95
105
106
+ /* * Set the abstract of the layer
107
+ * used by QGIS Server in GetCapabilities request
108
+ * @return the layer abstract
109
+ */
96
110
void setAbstract ( const QString& abstract ) { mAbstract = abstract; }
111
+ /* * Get the abstract of the layer
112
+ * used by QGIS Server in GetCapabilities request
113
+ * @return the layer abstract
114
+ */
97
115
QString abstract () const { return mAbstract ; }
98
116
117
+ /* * Set the keyword list of the layer
118
+ * used by QGIS Server in GetCapabilities request
119
+ * @return the layer keyword list
120
+ */
99
121
void setKeywordList ( const QString& keywords ) { mKeywordList = keywords; }
122
+ /* * Get the keyword list of the layer
123
+ * used by QGIS Server in GetCapabilities request
124
+ * @return the layer keyword list
125
+ */
100
126
QString keywordList () const { return mKeywordList ; }
101
127
102
128
/* Layer dataUrl information */
129
+ /* * Set the DataUrl of the layer
130
+ * used by QGIS Server in GetCapabilities request
131
+ * DataUrl is a a link to the underlying data represented by a particular layer
132
+ * @return the layer DataUrl
133
+ */
103
134
void setDataUrl ( const QString& dataUrl ) { mDataUrl = dataUrl; }
135
+ /* * Get the DataUrl of the layer
136
+ * used by QGIS Server in GetCapabilities request
137
+ * DataUrl is a a link to the underlying data represented by a particular layer
138
+ * @return the layer DataUrl
139
+ */
104
140
QString dataUrl () const { return mDataUrl ; }
141
+ /* * Set the DataUrl format of the layer
142
+ * used by QGIS Server in GetCapabilities request
143
+ * DataUrl is a a link to the underlying data represented by a particular layer
144
+ * @return the layer DataUrl format
145
+ */
105
146
void setDataUrlFormat ( const QString& dataUrlFormat ) { mDataUrlFormat = dataUrlFormat; }
147
+ /* * Get the DataUrl format of the layer
148
+ * used by QGIS Server in GetCapabilities request
149
+ * DataUrl is a a link to the underlying data represented by a particular layer
150
+ * @return the layer DataUrl format
151
+ */
106
152
QString dataUrlFormat () const { return mDataUrlFormat ; }
107
153
108
154
/* Layer attribution information */
155
+ /* * Set the attribution of the layer
156
+ * used by QGIS Server in GetCapabilities request
157
+ * Attribution indicates the provider of a Layer or collection of Layers.
158
+ * @return the layer attribution
159
+ */
109
160
void setAttribution ( const QString& attrib ) { mAttribution = attrib; }
161
+ /* * Get the attribution of the layer
162
+ * used by QGIS Server in GetCapabilities request
163
+ * Attribution indicates the provider of a Layer or collection of Layers.
164
+ * @return the layer attribution
165
+ */
110
166
QString attribution () const { return mAttribution ; }
167
+ /* * Set the attribution URL of the layer
168
+ * used by QGIS Server in GetCapabilities request
169
+ * Attribution indicates the provider of a Layer or collection of Layers.
170
+ * @return the layer attribution URL
171
+ */
111
172
void setAttributionUrl ( const QString& attribUrl ) { mAttributionUrl = attribUrl; }
173
+ /* * Get the attribution URL of the layer
174
+ * used by QGIS Server in GetCapabilities request
175
+ * Attribution indicates the provider of a Layer or collection of Layers.
176
+ * @return the layer attribution URL
177
+ */
112
178
QString attributionUrl () const { return mAttributionUrl ; }
113
179
114
180
/* Layer metadataUrl information */
181
+ /* * Set the metadata URL of the layer
182
+ * used by QGIS Server in GetCapabilities request
183
+ * MetadataUrl is a a link to the detailed, standardized metadata about the data.
184
+ * @return the layer metadata URL
185
+ */
115
186
void setMetadataUrl ( const QString& metaUrl ) { mMetadataUrl = metaUrl; }
187
+ /* * Get the metadata URL of the layer
188
+ * used by QGIS Server in GetCapabilities request
189
+ * MetadataUrl is a a link to the detailed, standardized metadata about the data.
190
+ * @return the layer metadata URL
191
+ */
116
192
QString metadataUrl () const { return mMetadataUrl ; }
193
+ /* * Set the metadata type of the layer
194
+ * used by QGIS Server in GetCapabilities request
195
+ * MetadataUrlType indicates the standard to which the metadata complies.
196
+ * @return the layer metadata type
197
+ */
117
198
void setMetadataUrlType ( const QString& metaUrlType ) { mMetadataUrlType = metaUrlType; }
199
+ /* * Get the metadata type of the layer
200
+ * used by QGIS Server in GetCapabilities request
201
+ * MetadataUrlType indicates the standard to which the metadata complies.
202
+ * @return the layer metadata type
203
+ */
118
204
QString metadataUrlType () const { return mMetadataUrlType ; }
205
+ /* * Set the metadata format of the layer
206
+ * used by QGIS Server in GetCapabilities request
207
+ * MetadataUrlType indicates how the metadata is structured.
208
+ * @return the layer metadata format
209
+ */
119
210
void setMetadataUrlFormat ( const QString& metaUrlFormat ) { mMetadataUrlFormat = metaUrlFormat; }
211
+ /* * Get the metadata format of the layer
212
+ * used by QGIS Server in GetCapabilities request
213
+ * MetadataUrlType indicates how the metadata is structured.
214
+ * @return the layer metadata format
215
+ */
120
216
QString metadataUrlFormat () const { return mMetadataUrlFormat ; }
121
217
122
218
/* * Set the blending mode used for rendering a layer */
0 commit comments