From 3a4fe8e4076083c1bf0e6c930954ec58633114a5 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 02 Nov 2020 22:35:50 +0000 Subject: [PATCH] [map] Fix vehicle search --- map.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/map.js b/map.js index d957dbb..3b726c2 100644 --- a/map.js +++ b/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); } -- Gitblit v1.9.1