18 :
QgsMapLayer( PluginLayer, layerName ), mPluginLayerType( layerType )
A rectangle specified with double values.
Base class for all map layer types.
QgsPluginLayer(QString layerType, QString layerName=QString())
QgsRectangle mExtent
Extent of the layer.
QString pluginLayerType()
return plugin layer type (the same as used in QgsPluginLayerRegistry)
virtual QgsRectangle extent()
Return the extent of the layer.
void setExtent(const QgsRectangle &extent)
Set the extent.