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

Create a component to display results with geo_points on a map #760

Open
nickpeihl opened this issue Jun 2, 2022 · 3 comments
Open

Create a component to display results with geo_points on a map #760

nickpeihl opened this issue Jun 2, 2022 · 3 comments
Assignees

Comments

@nickpeihl
Copy link
Member

Is your feature request related to a problem? Please describe.
Some indices like the US National Parks tutorial dataset contain geolocations as latitude, longitude points. It should be possible to for users to display search results with geolocations on a map.

Describe the solution you'd like
I propose we create a re-usable component (ex. ResultsMap) similar to the Results component where the output is a map instead of a list. This component could display latitude, longitude points over a basemap for indices that contain geo_point fields. The component could use the React Map-GL component with Maplibre and the basemaps from Elastic Maps Service.

Each point in the ResultsMap component could have a popup tooltip when hovered on or clicked that can display more context from the result. The map could display any number of points up to the index.max_result_window size (10,000 by default). Optionally, results could be clustered based on zoom level or limited by paging.

Describe alternatives you've considered
The Vector Tile Search API endpoint returns a much smaller binary result specifically designed for maps. These results can be rendered much more quickly and can even surpass the index.max_results_window as the map is split into tiles each using a separate search request. However, this would require the SearchDriver to support requests to multiple endpoints.

Additional context
Here is a mock-up of what I imagine the result would look like alongside the existing search box and facets.

search-ui-resultsmap

cc @elastic/kibana-gis

@botelastic
Copy link

botelastic bot commented Aug 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Is this issue still important to you? If so, please leave a comment and let us know. As always, thank you for your contributions.

@botelastic botelastic bot added the wontfix This will not be worked on label Aug 2, 2022
@nreese
Copy link

nreese commented Aug 2, 2022

keep alive

@botelastic botelastic bot removed the wontfix This will not be worked on label Aug 2, 2022
@botelastic
Copy link

botelastic bot commented Oct 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Is this issue still important to you? If so, please leave a comment and let us know. As always, thank you for your contributions.

@botelastic botelastic bot added the wontfix This will not be worked on label Oct 1, 2022
@JasonStoltz JasonStoltz added pinned and removed wontfix This will not be worked on labels Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants