Tilemap "Fit data bounds" should have the same result regardless of the starting zoom #10654
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
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:
Zoom out all the way.
Click on "Fit data bounds"
Click again on "Fit data bounds"
Zoom in all the way.
Click on "Fit data bounds"
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 )
The text was updated successfully, but these errors were encountered: