diff --git a/examples/igc.js b/examples/igc.js index ac86418471..8597677ff2 100644 --- a/examples/igc.js +++ b/examples/igc.js @@ -174,7 +174,7 @@ $('#time').on('input', function(event) { var geometry = /** @type {ol.geom.LineString} */ (feature.getGeometry()); var coordinate = geometry.getCoordinateAtM(m, true); var highlight = feature.get('highlight'); - if (highlight == undefined) { + if (highlight === undefined) { highlight = new ol.Feature(new ol.geom.Point(coordinate)); feature.set('highlight', highlight); featureOverlay.addFeature(highlight);