Differentiating international and national hiking routes

This commit is contained in:
Eric van der Vlist 2023-01-31 12:30:28 +01:00
parent cb74bb62f5
commit 79bcf65f27
1 changed files with 3 additions and 0 deletions

View File

@ -333,6 +333,9 @@ const styles = {
// });
// }
const network = feature.get('network');
if (getZoomInteger() < 7 && !['iwn'].includes(network)) {
return null;
}
if (getZoomInteger() < 12 && !['iwn', 'nwn'].includes(network)) {
return null;
}