mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
Rewrote opacity alg for clusters
This commit is contained in:
@@ -78,7 +78,7 @@ class Map extends React.Component {
|
||||
* Creates a Leaflet map and a tilelayer for the map background
|
||||
*/
|
||||
const { map: mapConf } = this.props.app
|
||||
console.info(mapConf.maxBounds)
|
||||
|
||||
const map =
|
||||
L.map(this.props.ui.dom.map)
|
||||
.setView(mapConf.anchor, mapConf.startZoom)
|
||||
@@ -312,7 +312,6 @@ class Map extends React.Component {
|
||||
styleCluster={this.styleCluster}
|
||||
projectPoint={this.projectPoint}
|
||||
clusters={allClusters}
|
||||
numClusters={allClusters.length}
|
||||
onSelect={this.onClusterSelect}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user