File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ class QgsPluginLayer : QgsMapLayer
11
11
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */
12
12
QString pluginLayerType();
13
13
14
+ void setExtent(const QgsRectangle& extent);
14
15
};
Original file line number Diff line number Diff line change @@ -9,3 +9,8 @@ QString QgsPluginLayer::pluginLayerType()
9
9
{
10
10
return mPluginLayerType ;
11
11
}
12
+
13
+ void QgsPluginLayer::setExtent ( const QgsRectangle & extent )
14
+ {
15
+ mLayerExtent = extent;
16
+ }
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ class CORE_EXPORT QgsPluginLayer : public QgsMapLayer
23
23
/* * return plugin layer type (the same as used in QgsPluginLayerRegistry) */
24
24
QString pluginLayerType ();
25
25
26
+ void setExtent ( const QgsRectangle & extent );
27
+
26
28
protected:
27
29
QString mPluginLayerType ;
28
30
};
You can’t perform that action at this time.
0 commit comments