// After this function call 'filtered' contains the filtered list of GeoJSON features
var filtered = geoJson.filter(
function(element) {
// We are only interested in elements which do not contain 'Mån'
return element.indexOf("Mån") != -1;
}
);
It will filter out all properties that does not contain the letter combination "Mån" (Monday). The result is that I want to see all polygons on the map that does not contain this letter combination. I just can't figure out how to use with this below... is it possible?
I have a hard time to implement this filter
It will filter out all properties that does not contain the letter combination "Mån" (Monday). The result is that I want to see all polygons on the map that does not contain this letter combination. I just can't figure out how to use with this below... is it possible?