diff --git a/src/components/gpx/styles.ts b/src/components/gpx/styles.ts index 6f67be3..db59bab 100644 --- a/src/components/gpx/styles.ts +++ b/src/components/gpx/styles.ts @@ -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; }