We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137f095 commit 5311246Copy full SHA for 5311246
lib/components/map/stops-overlay.js
@@ -52,7 +52,7 @@ class StopsOverlay extends MapLayer {
52
const { minZoom, queryMode, setLocation, stops } = this.props
53
54
// don't render if below zoom threshold or transit not currently selected
55
- if (this.context.map.getZoom() < minZoom || !hasTransit(queryMode)) return null
+ if (this.context.map.getZoom() < minZoom || !hasTransit(queryMode)) return <FeatureGroup />
56
57
return (
58
<FeatureGroup>
0 commit comments