appbaseio / appbaseio/reactivesearch

Feature: ability to specify dataField in GeoDistance components

未关闭
#306 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement maps :world_map:
主要语言
JavaScript
星标
4.9k
派生
478
PR 合并指标
30 天内没有已合并 PR

描述

**Issue Type:**

Enhancement

**Platform:**

Web / ReactiveMaps

**Description:**

Currently, the GeoDistance (Dropdown and Slider) components work by using Google's location search functionality, and then fire a query against the selected distance range.

This issue suggests that if a user already has location data in their ES index, we should allow them to optionally search against it (v/s strictly using Google location search).

This can be done by the use of `dataField` - when a user specifies the data field, they declare an intent of using this field to search the location data against (and use the ES index). When they don't specify this, Google's location search will be used against.

We can also take the location field ( (lat,lon) points) via `locationField` (currently, this is specified by dataField), which will eventually be used for firing the GeoQuery.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。