odileeds / ukpowernetworks

UK Power Network's potential future scenarios as defined in the National Grid Future Energy Scenarios (DFES).
1 stars 1 forks source link

Exporting map as image #14

Closed ash001j closed 3 years ago

ash001j commented 4 years ago

Additional functionality to export the current map as an image. Need to discuss the format.

slowe commented 4 years ago

@ash001j @VT-UKPN Patrick and I had mentioned SVG but I think I remember you saying the image saving was mostly for people to be able to copy views into, say, Powerpoint. So we've gone with saving as PNG as that feels the most robust for that type of thing. There's now a link, below the map, saying "Save map as PNG". It saves the map, the year, and the copyright notice at the bottom. It doesn't include the zoom/search buttons. Does that do the job?

ash001j commented 3 years ago

Need to add in the legend and associated metadata, as per email.

slowe commented 3 years ago

map-6 Here's what a screenshot now looks like. Just a note that the scale bar's right-hand line shouldn't be over on the left; I don't know why it is appearing over there and am not sure how to fix it.

ash001j commented 3 years ago

Looks perfect, happy to close the issue now, thanks.