Support outcode & gps search
This commit is contained in:
parent
23d128ff63
commit
3853b5dce7
6 changed files with 188 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ use rustc_hash::FxHashMap;
|
|||
|
||||
use crate::auth::TokenCache;
|
||||
use crate::data::{
|
||||
POICategoryGroup, POIData, PlaceData, PostcodeData, PropertyData, TravelTimeStore,
|
||||
OutcodeData, POICategoryGroup, POIData, PlaceData, PostcodeData, PropertyData, TravelTimeStore,
|
||||
};
|
||||
use crate::pocketbase::SuperuserTokenCache;
|
||||
use crate::routes::FeaturesResponse;
|
||||
|
|
@ -39,6 +39,8 @@ pub struct AppState {
|
|||
pub place_data: Arc<PlaceData>,
|
||||
/// Postcode boundary data for high-zoom rendering
|
||||
pub postcode_data: Arc<PostcodeData>,
|
||||
/// Precomputed outcode centroids for search
|
||||
pub outcode_data: Arc<OutcodeData>,
|
||||
/// Precomputed POI category groups (sorted)
|
||||
pub poi_category_groups: Arc<Vec<POICategoryGroup>>,
|
||||
/// Precomputed travel time data store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue