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

Tilemap "Fit data bounds" should have the same result regardless of the starting zoom #10654

Closed
marius-dr opened this issue Mar 2, 2017 · 1 comment
Assignees
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) PR sent v5.4.0

Comments

@marius-dr
Copy link
Member

Kibana version: 5.3.0

Elasticsearch version: 5.3.0

Server OS version: Windows

Browser version: IE 11

Browser OS version: WIndows

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

Description of the problem including expected versus actual behavior:

The resulting map from "Fit data bounds" is different, depending on the starting zoom level.
When starting from minimum zoom level (the whole map is zoomed out) and you use "Fit data bounds" it will zoom in to a place where the map fits in the window vertically (not the data points). In order to get to the expected result you need to use "Fit data bounds" again.

When you start from maximum zoom level and you use "Fit data bounds" it will zoom out close to the expected result, but if you click "Fit data bounds" again, the viewfinder will move to the final position (small movement, but still noticeable)

Steps to reproduce:

  1. Zoom out all the way.

  2. Click on "Fit data bounds"

  3. Click again on "Fit data bounds"

  4. Zoom in all the way.

  5. Click on "Fit data bounds"

  6. Click again on "Fit data bounds"

The behavior is the same on 5.2.2 and other browsers.
This is NOT present in 5.1.2 so it has been introduced between these 2 versions.
The behavior is the same with or without X-Pack installed (so, irregardless of the maxZoom level )

minzoom

@marius-dr marius-dr added Feature:Coordinate Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Mar 2, 2017
@marius-dr marius-dr changed the title Tilemap "FIt data bounds" should have the same result regardless of the starting zoom Tilemap "Fit data bounds" should have the same result regardless of the starting zoom Mar 2, 2017
@thomasneirynck
Copy link
Contributor

thomasneirynck commented Mar 2, 2017

@marius-dr this might be fixed with #10448. I'll double check..

fixed in #10448

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) PR sent v5.4.0
Projects
None yet
Development

No branches or pull requests

2 participants