Merge pull request #2678 from ahocevar/mutable-styles

Mutable symbolizer properties for styles
This commit is contained in:
Andreas Hocevar
2014-09-11 13:14:43 -07:00
7 changed files with 286 additions and 30 deletions

View File

@@ -1,5 +1,18 @@
goog.provide('ol.test.style.Style');
describe('ol.style.Style', function() {
describe('#setZIndex', function() {
it('sets the zIndex', function() {
var style = new ol.style.Style();
style.setZIndex(0.7);
expect(style.getZIndex()).to.be(0.7);
});
});
});
describe('ol.style.createStyleFunction()', function() {
var style = new ol.style.Style();