Differentiating international and national hiking routes

This commit is contained in:
vdv committed 2023-01-31 12:30:28 +01:00
1 parent cb74bb62f5
commit 79bcf65f27
1 file changed
+3
+3
View File
@@ -333,6 +333,9 @@ const styles = {
// }); // });
// } // }
const network = feature.get('network'); const network = feature.get('network');
if (getZoomInteger() < 7 && !['iwn'].includes(network)) {
return null;
}
if (getZoomInteger() < 12 && !['iwn', 'nwn'].includes(network)) { if (getZoomInteger() < 12 && !['iwn', 'nwn'].includes(network)) {
return null; return null;
} }