mapfish-print
mapfish-print copied to clipboard
Gray box instead of png icon for "externalGraphic": "<URL>"
This png icon, referenced in a style definition as
"externalGraphic": "http://localhost:8080/img/markers/poi1.png"
is not rendering correctly in mapfish-print 3.14.0.
Using mapfish-print 3.13.0:
Using mapfish-print 3.14.0:
The bug might be related to changing the version of geotools from 19.0 to 19.1.
Between 19.0 and 19.1, geotools reformatted their codebase, but by looking at the changes before and the changes after, I suspect the bug might be related to this new function for reading pngs.
When using a local path instead of a URL (i.e. img/markers/poi1.png
), the icon is rendered correctly (assuming of course that poi1.png
exists).
This is confirmed. This regression comes from 19.1. I've downgraded geotools to 19.0 in the mean time.