Closed trongquyvn closed 2 years ago
set defaultQuery option in props
const mapProps = { dataField: 'location', showSearchAsMove: true, searchAsMove: true, renderAllData: (hits, streamHits, loadMore, renderMap, renderPagination) => { }, defaultQuery: () => ({ sort: sortQuery, }) }; <ReactiveGoogleMap componentId="googleMap" {...mapProps} />
After that: i move on the map, the response of in 'renderAllData function' (hits) always is 10 records. No matter where in the map.
Version: "@appbaseio/reactivemaps": "^3.0.0-beta.11", "@appbaseio/reactivesearch": "3.12.7",
Anyone can help me. Many thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
set defaultQuery option in props
After that: i move on the map, the response of in 'renderAllData function' (hits) always is 10 records. No matter where in the map.
Version: "@appbaseio/reactivemaps": "^3.0.0-beta.11", "@appbaseio/reactivesearch": "3.12.7",
Anyone can help me. Many thanks!