Optional zIndex for text symbolizers

This commit is contained in:
Tim Schaub
2013-08-26 15:50:45 -06:00
parent b9a44d2db5
commit 43c581ef5f
5 changed files with 69 additions and 7 deletions

View File

@@ -26,6 +26,18 @@ describe('ol.style.Text', function() {
expect(symbolizer).to.be.a(ol.style.Text);
});
it('accepts zIndex', function() {
var symbolizer = new ol.style.Text({
color: '#ff0000',
fontFamily: 'Arial',
fontSize: 11,
text: 'Test',
opacity: 0.6,
zIndex: 3
});
expect(symbolizer).to.be.a(ol.style.Text);
});
});
describe('#createLiteral()', function() {