geoscript / geoscript-py

A Python GeoScript Implementation
http://geoscript.net/py
MIT License
52 stars 25 forks source link

Fix issue #5, allow for specifying size in Icon #20

Closed jericks closed 12 years ago

jericks commented 12 years ago

Support the size modifier for icon. Especially important for SVG icons.

from geoscript.style import from geoscript.render import from geoscript.geom import *

geom = Point(10,10) draw(geom, Icon('smileyface.png', size=12))