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

Make default selected vector layer configurable #17197

Closed
timroes opened this issue Mar 16, 2018 · 2 comments
Closed

Make default selected vector layer configurable #17197

timroes opened this issue Mar 16, 2018 · 2 comments
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation Feature:Region Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement

Comments

@timroes
Copy link
Contributor

timroes commented Mar 16, 2018

When creating a new region map we by default select the first vector layer returned from the tilemap server. Since those are alphabetically sorted (what most likely make sense), we currently always select Canadian Provinces as the default vector layer. I think it would make the most sense for a broader user group to have "World Countries" selected as the default.

There could be several possible implementations to that:

  • Create an advanced setting, what layer should be the default layer. Pro: easiest editable; Con: you would need to match layers by names
  • Extend the manifest format returned by the tilemap server, to contain some information what the default vector layer is. Pro: clear format, could be more easily configured for all Kibana instances if we e.g. would rename layers; Con: Logic might be more complex, if you have custom vector layers? which default settings would have priority?
@thomasneirynck thomasneirynck added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) and removed triage_needed labels Mar 19, 2018
@thomasneirynck
Copy link
Contributor

imho, the manifest should enforce the "default" ordering. This would be a tidy way to provide a good initial experience. I agree that countries should go on top, followed by alphabetical sort of other "sub-divisions".

@thomasneirynck
Copy link
Contributor

thomasneirynck commented Mar 27, 2018

Layer ordering is now determined by EMS, and is configurable. It is now alphabetical, with world-countries on top. thanks @mentat!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation Feature:Region Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement
Projects
None yet
Development

No branches or pull requests

2 participants