we have shape file with different attributes wich we want to show in the print composer. The goal is that we open 1 vector layer and the print composer shows 4 different maps (4 attributes). Is there a solution for that?
I'm using QGIS 2.6 to do this which makes it easier to filter out styles based on attributes, as you can see with the checked boxes beside each colour legend. Each legend depicts rules which are set in Layer Properties > Style > Rule-based:
First select which attribute(s) you want shown in your first image via the legend:
Add the map into your Composer:
So now you have your first image based on a certain attribute:
Repeat this by filtering out the attributes via the legend add a new map into the composer until you get 4:
Hope this helps.