Region and coordinate maps can no longer zoom beyond level 10 with default distribution #62856
Labels
bug
Fixes for quality problems that affect the customer experience
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
regression
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
v7.7.0
v7.8.0
v8.0.0
Kibana version:
7.7, 7.x, Master
Describe the bug:
The license-key parameter is no longer added to request for EMS for the region and coordinate map visualizations. This causes the map not to zoom beyond level 10.
The default distribution of Kibana ships with the
tilemap
plugin (kibana/x-pack/legacy/plugins/tilemap
).This plugin adds the license-key to all CORS-requests to EMS. This ensures that the user has access to zoom level 18 in the region and coordinate map. It does so by calling a method on the
ServiceSettings
object.kibana/x-pack/legacy/plugins/tilemap/public/vis_type_enhancers/update_tilemap_settings.js
Lines 21 to 22 in c2c1253
This code-path no longer executes. This causes the map to stop zooming at level 10 and showing a warning.
Steps to reproduce:
xpack.maps.showMapVisualizationTypes: true
Expected behavior:
In default distribution, the region and coordinate maps shoudl zoom beyond level 10, to level 18.
Screenshots (if relevant):
Provide logs and/or server output (if relevant):
Note that the license parameter is not added to the URLs for EMS
e.g.: from browser console.
https://tiles.maps.elastic.co/styles/osm-bright-desaturated/10/263/392.png?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=7.7.0
The text was updated successfully, but these errors were encountered: