Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tile Map tooltips near edges of map are cut off #8799

Closed
LeeDr opened this issue Oct 21, 2016 · 1 comment · Fixed by #12367
Closed

Tile Map tooltips near edges of map are cut off #8799

LeeDr opened this issue Oct 21, 2016 · 1 comment · Fixed by #12367
Labels
bug Fixes for quality problems that affect the customer experience Feature:Coordinate Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@LeeDr
Copy link

LeeDr commented Oct 21, 2016

Kibana version: 5.0.0 release candidate 3 (but also the same in Kibana 4.6.1)

Elasticsearch version: 5.0.0 release candidate 3

Server OS version: Windows 10

Browser version: IE 11 (but same on Ubuntu Chromium Kibana 4.6.1)

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.): all

Description of the problem including expected versus actual behavior:
It looks like tooltips when mouse hover over geopoint circles are centered on the circle. But when the circle is near the edge of the map pane that causes the tooltip to be cut off.
If it's possible, the tooltip should adjust its position to stay within the map area.

In this screenshot the mouse (which wasn't captured) is on a circle near the left edge of the map.

2016-10-21 09_47_45-tile map - kibana

Steps to reproduce:

  1. make a tile map with data on it
  2. zoom in and/or pan some some circles are near any edge
  3. mouse over those circles to cause the tooltip to appear
  4. some portion of the tooltip is not visible

Of course the easy work-around is to zoom out and/or pan the map so that the circle you're interested in isn't near the edge of the map.

@LeeDr LeeDr added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience P3 labels Oct 21, 2016
@thomasneirynck
Copy link
Contributor

thomasneirynck commented Feb 8, 2017

IMHO, this feature should be added to Leaflet, rather than as a work-around in Kibana. Logged a feature request in Leaflet: Leaflet/Leaflet#5320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Coordinate Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants