Commit Graph

5 Commits

Author SHA1 Message Date
Andreas Hocevar
784701641d Add a getGeometry method 2014-12-18 10:28:21 +01:00
Andreas Hocevar
49f9690786 Add tests for setGeometry 2014-12-15 23:21:02 +01:00
Andreas Hocevar
0c36d7606b No need to have a mutable_ flag
Instead, educate users to call setStyle.
2014-09-04 11:47:32 -06:00
Andreas Hocevar
a50f6d7a2f Mutable symbolizer properties for style functions
This change adds setters for symbolizer properties. In addition, it
introduces a mutable flag on all styles. By default, this is set to
true. ol.style.createStyleFunction sets it to false for all static
styles.

The new setters assert that the mutable flag is true, so whenever an
application tries to set a symbolizer property on a style that was
assigned to a vector layer or feature overlay, the assertion will fail.
2014-09-03 16:57:50 -06:00
Antoine Abt
60f1874766 Give precedence to feature style 2014-07-16 11:25:16 +02:00