Exporting a PNG with a Legend
I have figured out how to make a legend, but I have not been able to figure out how to export a PNG that includes the legend. All suggestions are appreciated. Thank you.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Dane on 26 Aug, 2011 12:11 AM
HI Zach,
PNG/PDF export don't include legends as this is not implemented and we don't have plans to at this point. I realize this will seem insane if you are coming from a print background, but our focus is mainly web/html. Mapnik, used under the hood for the rendering seeks to add automatic legend support at some point that could be burned into the PNG, but there is also no real roadmap for that at this point. A simple workaround could be to take a screen shot of your HTML legend and then composite that onto the PNG export.
Dane closed this discussion on 26 Aug, 2011 12:11 AM.