mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 07:33:42 -06:00
Geomap: Fix tooltip offset bug (#52627)
This commit is contained in:
parent
cf86c696e0
commit
3c2ef54e04
@ -369,8 +369,8 @@ export class GeomapPanel extends Component<Props, State> {
|
||||
const hover = toLonLat(this.map.getCoordinateFromPixel(pixel));
|
||||
|
||||
const { hoverPayload } = this;
|
||||
hoverPayload.pageX = mouse.pageX;
|
||||
hoverPayload.pageY = mouse.pageY;
|
||||
hoverPayload.pageX = mouse.offsetX;
|
||||
hoverPayload.pageY = mouse.offsetY;
|
||||
hoverPayload.point = {
|
||||
lat: hover[1],
|
||||
lon: hover[0],
|
||||
|
Loading…
Reference in New Issue
Block a user