SpaceGeometryMixin: geojson opacity
This commit is contained in:
parent
e0a0b1e653
commit
b4fe83b453
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ class SpaceGeometryMixin(GeometryMixin):
|
||||||
color = self.get_color()
|
color = self.get_color()
|
||||||
if color:
|
if color:
|
||||||
result['color'] = color
|
result['color'] = color
|
||||||
|
if hasattr(self, 'opacity'):
|
||||||
|
result['opacity'] = self.opacity
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue