You need to apply the filter to the geoJson call and not in the text:
var points = L.geoJSON.collision(null, {
filter: local,
pointToLayer: function(feature,latlng){
label3s = String('<span class="textLabelclass3small">' + feature.properties.local + '</span>')
return new L.marker(latlng, {
icon:createLabelIcon("textLabelclass3small",label3s)
});
}
});
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…