mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Add license querystring to EMS requests in Vega (#112765)
This fixes a regression in Vega Maps that limits users to max zoom 10 regardless of distribution Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
cbbf0fa6ce
commit
1e25d199cd
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,11 @@ export class MapServiceSettings {
|
|||
tileApiUrl: this.config.emsTileApiUrl,
|
||||
landingPageUrl: this.config.emsLandingPageUrl,
|
||||
});
|
||||
|
||||
// Allow zooms > 10 for Vega Maps
|
||||
// any kibana user, regardless of distribution, should get all zoom levels
|
||||
// use `sspl` license to indicate this
|
||||
this.emsClient.addQueryParams({ license: 'sspl' });
|
||||
}
|
||||
|
||||
public async getTmsService(tmsTileLayer: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue