-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Maps] POC adding experimental vector drawing layer functionality to the Maps app #96365
Conversation
💔 Build Failed
Failed CI Steps
Test FailuresKibana Pipeline / jest / Jest Tests.x-pack/plugins/maps/public/classes/sources/new_vector_layer_source.GeoJsonFileSource getName should get default display nameStandard Out
Stack Trace
Kibana Pipeline / jest / Jest Tests.x-pack/plugins/maps/public/classes/sources/new_vector_layer_source.GeoJsonFileSource getBounds should get null boundsStandard Out
Stack Trace
Kibana Pipeline / jest / Jest Tests.x-pack/plugins/maps/public/classes/sources/new_vector_layer_source.GeoJsonFileSource getBounds should get bounds from feature collectionStandard Out
Stack Trace
and 1 more failures, only showing the first 3. Metrics [docs]
History
To update your PR or re-run it, just comment with: |
If I understand correctly, any user who wants to create a new drawing layer requires the Additionally, I think this has the possibility of causing an "indices explosion" where, over time, hundreds or thousands of tiny, throwaway, or one-off indices are created by tens or hundreds of users. This could also be a headache for administrators. Could we instead consider having a system index to store drawings? In the UI we might use an index alias with a user-defined alias Example Console Logs
This way, we only have one index for all of Alice and Bob's drawings, but we have a way to maintain them separately. If Alice wants to expand her restaurant, she will only see the features she has drawn because the filter from the alias is applied to the index. And I think Alice and Bob only need to have the |
Closing since this has been tested by key stakeholders and is now planned as a new Maps feature. An issue describing the steps for integration has been created here. @nickpeihl Thanks for the comments. I think how we'll manage indexes moving forward will be an ongoing topic of conversation. At this point it is planned to allow users to modify current indexes and create new ones so we probably won't be leaning towards using system indexes. If this utility does indeed create an index explosion, it means people are using it (yay!) and we need to handle the side-effects of easier ingest processes. I have a few ideas around that (something like index tags) but I'll save it for a future thread! @ghudgins Interesting feature. I've captured it in #96836. We'll discuss it and see if it's something we want to support and determine level of difficulty for implementation. Thanks! |
DO NOT MERGE: POC
Adds a new way of creating a maps vector layer via draw tools. Drawing vector layers is hidden behind an experimental flag. To enable, add the following to your
kibana.yml
: