Improved www.ttss.krakow.pl
Jacek Kowalski
2020-11-02 3a4fe8e4076083c1bf0e6c930954ec58633114a5
[map] Fix vehicle search
1 files modified
2 ■■■ changed files
map.js 2 ●●● patch | view | raw | blame | history
map.js
@@ -188,7 +188,7 @@
        });
        
        ttss_types.forEach(function(ttss_type) {
            vehicles_source[ttss_type].forEachFeature(function(feature) {
            vehicles[ttss_type].source.forEachFeature(function(feature) {
                if(feature.get('vehicle_type') && feature.get('vehicle_type').num.indexOf(query) > -1) {
                    features.push(feature);
                }