Add postcodes
This commit is contained in:
parent
004948385d
commit
ce4c0cc08c
5 changed files with 325 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::data::{POICategoryGroup, POIData, PropertyData};
|
||||
use crate::data::{POICategoryGroup, POIData, PostcodeData, PropertyData};
|
||||
use crate::routes::FeaturesResponse;
|
||||
use crate::utils::GridIndex;
|
||||
|
||||
|
|
@ -10,6 +10,8 @@ pub struct AppState {
|
|||
pub h3_cells: Vec<u64>,
|
||||
pub poi_data: POIData,
|
||||
pub poi_grid: GridIndex,
|
||||
/// Postcode boundary data for high-zoom rendering
|
||||
pub postcode_data: PostcodeData,
|
||||
/// Precomputed JSON key names: "min_{feature_name}" for each feature
|
||||
pub min_keys: Vec<String>,
|
||||
/// Precomputed JSON key names: "max_{feature_name}" for each feature
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue