You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
cc @elastic/kibana-gis
The text was updated successfully, but these errors were encountered:
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.
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.
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 theResults
component where the output is a map instead of a list. This component could display latitude, longitude points over a basemap for indices that containgeo_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 theindex.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.
cc @elastic/kibana-gis
The text was updated successfully, but these errors were encountered: