[QGIS-trac] [Quantum GIS] #2424: Set extent of plugin layer

Quantum GIS qgis at qgis.org
Tue Feb 9 10:45:54 EST 2010


#2424: Set extent of plugin layer
------------------------------------------------+---------------------------
   Reporter:  mwalker                           |              Owner:  borysiasty
       Type:  enhancement                       |             Status:  new       
   Priority:  major: does not work as expected  |          Milestone:            
  Component:  Python plugins and bindings       |            Version:  HEAD      
   Keywords:  plugin layer, extent              |   Platform_version:            
   Platform:  All                               |           Must_fix:  No        
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 This patch adds the method `QgsPluginLayer::setExtent(const
 QgsRectangle&)` to allow Python plugins to set the extent of their layers.
 This was previously not possible, as the `mLayerExtent` member is not
 accessible from Python.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2424>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list