Index: python/core/qgspluginlayer.sip =================================================================== --- python/core/qgspluginlayer.sip (revision 12904) +++ python/core/qgspluginlayer.sip (working copy) @@ -11,4 +11,5 @@ /** return plugin layer type (the same as used in QgsPluginLayerRegistry) */ QString pluginLayerType(); + void setExtent(const QgsRectangle& extent); }; Index: src/core/qgspluginlayer.cpp =================================================================== --- src/core/qgspluginlayer.cpp (revision 12904) +++ src/core/qgspluginlayer.cpp (working copy) @@ -9,3 +9,8 @@ { return mPluginLayerType; } + +void QgsPluginLayer::setExtent( const QgsRectangle & extent ) +{ + mLayerExtent = extent; +} Index: src/core/qgspluginlayer.h =================================================================== --- src/core/qgspluginlayer.h (revision 12904) +++ src/core/qgspluginlayer.h (working copy) @@ -23,6 +23,8 @@ /** return plugin layer type (the same as used in QgsPluginLayerRegistry) */ QString pluginLayerType(); + void setExtent( const QgsRectangle & extent ); + protected: QString mPluginLayerType; };