influxdata / influxdata/giraffe
GeoWidget: Individual Markers in clustered marker view show no tooltip
- Dominant language
- TypeScript
- Stars
- 189
- Forks
- 33
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 4
Description
### Build
local build of latest in PR 365
```
commit 361b63bc55ac4989f17f03f33165d3070c7236b2 (HEAD -> fix-leaflet-css, origin/fix-leaflet-css)
```
### Use case
Checking a basic overlay with clustered markers.
```javascript
layers: [
{
type: 'geo',
lat: latitude,
lon: longitude,
zoom: 8,
allowPanAndZoom: true,
detectCoordinateFields: false,
layers: [
{
type: 'pointMap',
colorDimension: {label: 'Mag'},
colorField: 'mag',
colors: [
{type: 'min', hex: '#006d6f'},
{value: 3, hex: '#FFD300'},
{value: 6, hex: '#FF4F00'},
{value: 9, hex: '#db0000'},
{type: 'max', hex: '#db0000'},
],
isClustered: true,
areClustersColored: true,
clusterAggregationFunction: ClusterAggregation.mean,
maxClusterRadius: 120,
},
],
tileServerConfiguration: tileServerConfiguration,
}
]
```
### Expected behavior
Expected mouseover lone markers would generate a tooltip with the point data.
### Actual behavior
Clusters are shown with circles and a count in the center of the circle. Mouseover on the cluster circles highlights a polygon inside of which the clustered points will be found. Nice.
However, mouseover lone markers has no effect. No tooltip appears providing data for the point.
N.B. mouseover individual markers in non-clustered marker views shows tooltips
### Screencast

### Sources
file:
https://github.com/bonitoo-io/giraffe-cypress/blob/master/app/components/GiraffeGeoMarkerCluster.tsx
project:
https://github.com/bonitoo-io/giraffe-cypress
Contributor guide
Assessment
This issue has not been assessed yet.