1pub mod json;
3pub mod pmtiles;
5pub mod s2tiles;
7pub mod tile;
9pub mod to_tiles;
11
12pub use json::*;
13pub use pmtiles::*;
14use s2json::VectorFeature;
15pub use s2tiles::*;
16pub use tile::*;
17pub use to_tiles::*;
18
19pub type OnFeature<M, P, D> = fn(feature: VectorFeature<M, P, D>) -> Option<VectorFeature<M, P, D>>;
21
22pub trait OnFeatureMethod<M: Clone, P: Clone + Default, D: Clone + Default> {
25 fn on_feature<F>(&mut self, callback: F)
27 where
28 F: FnMut(VectorFeature<M, P, D>) -> Option<VectorFeature<M, P, D>> + Send + Sync;
29}