Skip to content

Commit

Permalink
Added BalloonStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jul 30, 2014
1 parent dd6a707 commit 1136331
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/collective/geo/settings/config.py
Expand Up @@ -11,4 +11,5 @@
'polygoncolor',
'display_properties',
'linewidth',
'balloonstyle',
]
7 changes: 7 additions & 0 deletions src/collective/geo/settings/interfaces.py
Expand Up @@ -190,6 +190,13 @@ class IGeoFeatureStyle(Interface):
default=['Title', 'Description']
)

balloonstyle = schema.TextLine(
title=_(u"Balloon style"),
description=_(u"Text displayed in the balloon."),
default=u'<h2>$[name]</h2>$[description]',
required=True)



class IGeoCustomFeatureStyle(IGeoFeatureStyle):
"""IGeoCustomFeatureStyle
Expand Down

0 comments on commit 1136331

Please sign in to comment.