I have to print 2 pages with different maps on every page. Every map represents a city as polygone and the scale in every map is the same. The setting of the zoom and the scale is not a problem: I have set the scale and for the extent in the map extention I've used the fallowing expressions xmin(geometry(getFeature('frame', 'gid', 1))) ymin(geometry(getFeature('frame', 'gid', 1))) xmax(geometry(getFeature('frame', 'gid', 1))) ymax(geometry(getFeature('frame', 'gid', 1))) and set map extension.
Now I have to find a way to have 2 pages as showed in the fallowing picture
The part in red is the same in every page. The 2 pages have the same dimensions and the same legend. In every map there are the same layers but zoomed on different polygones. In print-composer I can set the number of pages but in this way I have to duplicate the red part (legend and general info). I have tried to overlap the maps of the first page on the ones of the seconds and find a conditional function on the transparency of the map/page number (ex: if mapA is in page 1 transparency=0, if mapA is in page 2 transparency=100 and il map F and G are on page 1 transparency=100, if they are on page 2 transparency=0) but trying to find a way for page 1 and 2 with atlas I didn't work it out. Is there a way to change the maps and its position and dimensions through different pages dinamically?