[Qgis-developer] show grid on map canvas (similiar to grid used in composer) - strategy?

Etienne Tourigny etourigny.dev at gmail.com
Wed May 9 14:00:07 PDT 2012

Hi all,

I would like to add support to draw a grid on the map canvas, in a way
similar to what is done in the map composer (although perhaps without
the annotations on the borders).

What should be the approach used?

1) plugin or core?
2) rubberbands or basic plot functions triggered after mapCanvas update?

I think both drawing strategies are possible using a plugin.

It would be best to write in the core, assuming there is sufficient
interest in this, but it will take time to trickle down to the stable
version (an argument for making it a plugin).

I know the current workaround is to create a vector grid with ftools,
but that is a little clunky.

Any thoughts?

More information about the Qgis-developer mailing list