From 1d09339d318dfdebebf4b447af2180db7001d36a Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 18 Jun 2019 08:03:56 +0000 Subject: [PATCH] Show vehicle number when more than one object was clicked --- map.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/map.js b/map.js index 9089c62..7d985f6 100644 --- a/map.js +++ b/map.js @@ -659,6 +659,9 @@ if(typeof typeName === 'undefined') { typeName = ''; } + if(feature.get('vehicle_type')) { + typeName += ' ' + feature.get('vehicle_type').num; + } addElementWithText(a, 'span', typeName).className = 'small'; a.appendChild(document.createTextNode(' ')); -- Gitblit v1.9.1