Merge pull request #4239 from austinkeeley/master

Changing highlighted to highlight
This commit is contained in:
Éric Lemoine
2015-10-09 15:40:55 +02:00
+4 -4
View File
@@ -1810,7 +1810,7 @@ describe('ol.format.KML', function() {
' <Placemark>' + ' <Placemark>' +
' <StyleMap>' + ' <StyleMap>' +
' <Pair>' + ' <Pair>' +
' <key>highlighted</key>' + ' <key>highlight</key>' +
' <Style>' + ' <Style>' +
' <PolyStyle>' + ' <PolyStyle>' +
' <color>00000000</color>' + ' <color>00000000</color>' +
@@ -1851,7 +1851,7 @@ describe('ol.format.KML', function() {
' </Style>' + ' </Style>' +
' </Pair>' + ' </Pair>' +
' <Pair>' + ' <Pair>' +
' <key>highlighted</key>' + ' <key>highlight</key>' +
' <Style>' + ' <Style>' +
' <PolyStyle>' + ' <PolyStyle>' +
' <color>ffffffff</color>' + ' <color>ffffffff</color>' +
@@ -1911,7 +1911,7 @@ describe('ol.format.KML', function() {
expect(s.getFill().getColor()).to.eql([0, 0, 0, 0]); expect(s.getFill().getColor()).to.eql([0, 0, 0, 0]);
}); });
it('ignores highlighted styleUrls', function() { it('ignores highlight styleUrls', function() {
var text = var text =
'<kml xmlns="http://earth.google.com/kml/2.2">' + '<kml xmlns="http://earth.google.com/kml/2.2">' +
' <Document>' + ' <Document>' +
@@ -1923,7 +1923,7 @@ describe('ol.format.KML', function() {
' <Placemark>' + ' <Placemark>' +
' <StyleMap>' + ' <StyleMap>' +
' <Pair>' + ' <Pair>' +
' <key>highlighted</key>' + ' <key>highlight</key>' +
' <styleUrl>#foo</styleUrl>' + ' <styleUrl>#foo</styleUrl>' +
' </Pair>' + ' </Pair>' +
' </StyleMap>' + ' </StyleMap>' +