mapfish-print icon indicating copy to clipboard operation
mapfish-print copied to clipboard

Gray box instead of png icon for "externalGraphic": "<URL>"

Open romanzoller opened this issue 6 years ago • 1 comments

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: image

Using mapfish-print 3.14.0: image

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).

romanzoller avatar Jun 12 '18 12:06 romanzoller

This is confirmed. This regression comes from 19.1. I've downgraded geotools to 19.0 in the mean time.

pvalsecc avatar Jun 13 '18 13:06 pvalsecc