Optional zIndex for stroke symbolizers

This commit is contained in:
Tim Schaub
2013-08-26 15:27:45 -06:00
parent 04a23d0e45
commit 33cacab11c
5 changed files with 69 additions and 10 deletions
+7
View File
@@ -30,10 +30,17 @@ describe('ol.style.LineLiteral', function() {
color: '#BADA55',
opacity: 0.5
});
var differentZIndex = new ol.style.LineLiteral({
width: 3,
color: '#BADA55',
opacity: 1,
zIndex: 3
});
expect(literal.equals(equalLiteral)).to.be(true);
expect(literal.equals(differentColor)).to.be(false);
expect(literal.equals(differentWidth)).to.be(false);
expect(literal.equals(differentOpacity)).to.be(false);
expect(literal.equals(differentZIndex)).to.be(false);
});
});