[QGIS-Developer] Convert from mapunits to pixels

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Nov 9 08:26:14 PST 2017


Hello all

I've never implemented support of any unit other than pixels in my plugin. A
particular use case (vector tiles) could really use mapunits. Can someone
explain (or point me towards) the method for converting from mapunits to
pixels for on-screen rendering?

Thanks

Tom



-----
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html


More information about the QGIS-Developer mailing list