forked from mapfish/mapfish-print
-
Notifications
You must be signed in to change notification settings - Fork 9
Images content
Alejandro Díaz Torres edited this page Nov 12, 2013
·
1 revision
This enhancement allow you add SVG content inside the specification of the print. You need to add a name into the image to manage:
- !columns
width: 580
height: 271
absoluteX:70
absoluteY:400
items:
- !image
name: chart1
maxWidth: 580
maxHeight: 271
rotation: '${rotation}'
and put content into the specification:
{
...
chart1:{
content: '<svg>SVG content</svg>'
},
...
}
then, the content its rendered inside the print page with the layout configuration.