Lint free examples

This commit is contained in:
Tim Schaub
2016-01-09 16:31:58 -07:00
parent 0555bb081a
commit 8c38d22b60
64 changed files with 429 additions and 489 deletions

View File

@@ -89,7 +89,7 @@ var vectorSource = new ol.source.Vector({
var vector = new ol.layer.Vector({
source: vectorSource,
style: function(feature, resolution) {
style: function(feature) {
var classify = feature.get('activeprod');
return styleCache[classify];
}
@@ -120,7 +120,7 @@ var map = new ol.Map({
var displayFeatureInfo = function(pixel) {
var features = [];
map.forEachFeatureAtPixel(pixel, function(feature, layer) {
map.forEachFeatureAtPixel(pixel, function(feature) {
features.push(feature);
});
if (features.length > 0) {