mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Minor changes to example config for feature flags
This commit is contained in:
@@ -276,7 +276,7 @@ class Map extends React.Component {
|
||||
this.superclusterIndex.options.minZoom
|
||||
);
|
||||
const zoomLevelsToSkip = 2;
|
||||
const zoomToFly = Math.max(
|
||||
const zoomToFly = Math.min(
|
||||
expansionZoom + zoomLevelsToSkip,
|
||||
this.props.app.cluster.maxZoom
|
||||
);
|
||||
@@ -384,6 +384,7 @@ class Map extends React.Component {
|
||||
individualClusters,
|
||||
this.props.domain.locations
|
||||
);
|
||||
|
||||
return (
|
||||
<Events
|
||||
svg={this.svgRef.current}
|
||||
|
||||
Reference in New Issue
Block a user