0๐
โ
I got the solution:
if (this.vehicleGroup && this.tomTomGroupSelect.length !== 0) {
vehicles = vehicles.filter((v) => {
return this.tomTomGroupSelect.includes(v.properties.objectno);
});
}
Source:stackexchange.com