Lint free examples
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user