Improved www.ttss.krakow.pl
Jacek Kowalski
2019-06-18 1d09339d318dfdebebf4b447af2180db7001d36a
Show vehicle number when more than one object was clicked
1 files modified
3 ■■■■■ changed files
map.js 3 ●●●●● patch | view | raw | blame | history
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(' '));