Icon getIcon(Feature feature, Expression url, String format, int size) throws Exception
sizeparameter defines the size of the image (so that vector based symbols can be drawn at the specified size directly), or may be zero or negative if the size was not specified (in that case the "natural" size of the image will be used, which is the size in pixels for raster images, and 16 for any format that does not have a specific size, according to the SLD spec).
nullwill be returned if this factory cannot handle the provided url.
Copyright © 1996–2022 Geotools. All rights reserved.