Merge pull request #10025 from KaiVolland/vector-tile-example-bugfix

Bugfix for vector-tile-selection example
This commit is contained in:
Andreas Hocevar
2019-09-26 19:12:09 +02:00
committed by GitHub

View File

@@ -53,6 +53,10 @@ map.on('click', function(event) {
return;
}
const feature = features[0];
if (!feature) {
return;
}
const fid = feature.get(idProp);
if (selectElement.value === 'singleselect') {