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

[Maps] Define and document a public maps plugin API for creating custom sources and layers #60918

Closed
maihde opened this issue Mar 23, 2020 · 4 comments
Labels
enhancement New value added to drive a business result Feature:Maps Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@maihde
Copy link
Contributor

maihde commented Mar 23, 2020

Describe the feature:

Kibana supports a plugin-system, but the maps sub-system does not expose a mechanism for 3rd party plugins to officially extend the map with custom sources or layers. I would like to request an official supported API within the maps subsystem that allows plugins to extend the map with new sources and layers.

Describe a specific use case for the feature:

We have a custom tile-map-server that provides additional features beyond a generic TMS (https://github.com/spectriclabs/elastic_datashader). We have developed tight integration within Kibana by making a custom-map-source available, but this is accomplished by directly modifying the Kibana source code (highly undesirable). Furthermore, making such modifications to Kibana could in some situations be considered in violation of section 2 of the Elastic License (also highly undesirable).

@nreese nreese added enhancement New value added to drive a business result [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation labels Mar 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese nreese added the discuss label Mar 23, 2020
@nreese
Copy link
Contributor

nreese commented Mar 23, 2020

@maihde We are working on providing a registry for sources and layer creation wizards. Check out PR #60870 and please provide feedback.

This PR adds a source_registry so plugins can register sources and the PR adds a layer_wizard_registry so plugins can add menu options to add layer list. There is more coming in this space but we are hoping to build on these registries. Let us know if this would provide the interfaces needed for your custom source.

@thomasneirynck thomasneirynck changed the title Define and document a public maps plugin API for creating custom sources and layers [Maps] Define and document a public maps plugin API for creating custom sources and layers Mar 26, 2020
@thomasneirynck thomasneirynck self-assigned this Aug 19, 2021
@thomasneirynck thomasneirynck removed their assignment Jan 14, 2022
@jb1b84 jb1b84 added Feature:Maps Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas labels Nov 3, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@jb1b84 jb1b84 removed the [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation label Nov 3, 2022
@nreese
Copy link
Contributor

nreese commented Dec 7, 2022

Closing, completed in #136761. That PR added an example of how to add a custom source

@nreese nreese closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Maps Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

5 participants