Opened 14 years ago

Closed 14 years ago

#2424 closed patch (fixed)

Set extent of plugin layer

Reported by: mwalker Owned by: borysiasty
Priority: major: does not work as expected Milestone:
Component: Python plugins and bindings Version: Trunk
Keywords: plugin layer, extent Cc: pka
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

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.

Attachments (1)

enh2424_plugin_layer_set_extents.diff (1.1 KB ) - added by mwalker 14 years ago.
Plugin layer setExtent() patch

Download all attachments as: .zip

Change History (3)

by mwalker, 14 years ago

Plugin layer setExtent() patch

comment:1 by lutra, 14 years ago

Type: enhancementpatch

comment:2 by wonder, 14 years ago

Resolution: fixed
Status: newclosed

Applied in r12909.

Note: See TracTickets for help on using tickets.