I have a webpage with a map view filled with features. I need to generate a report in PDF from this webpage, with a PDF-page for every feature. On top of the page, I need a zoomed-in image of the feature on a map. What's the best way to achieve this? I am able to zoom to the features with Javascript commands so I could iterate over all of them and make separate screenshots. But this zooming process takes some time, and would take a lot of time when there are 100+ features. Is there another way? I read about resquesting images from a server. Is there a good example that sets me in the right direction?
Thank you.