- class geoscript.style.icon.Icon(url, format=None)¶
Symbolizer for an external image or glyph.
An icon is composed is of a url that specifies the location of the source image and a format that specifies the format or the mime type of the image.
>>> icon = Icon('tests/work/colorblocks.png', 'image/png') >>> icon = Icon('http://v2.suite.opengeo.org/geoserver/styles/smileyface.png', 'image/png')