pub mod json;
pub mod pmtiles;
pub mod s2tiles;
pub mod tile;
pub mod to_tiles;
pub use json::*;
pub use pmtiles::*;
use s2json::VectorFeature;
pub use s2tiles::*;
pub use tile::*;
pub use to_tiles::*;
pub type OnFeature<M, P, D> = fn(feature: VectorFeature<M, P, D>) -> Option<VectorFeature<M, P, D>>;
pub trait OnFeatureMethod<M: Clone, P: Clone + Default, D: Clone + Default> {
fn on_feature<F>(&mut self, callback: F)
where
F: FnMut(VectorFeature<M, P, D>) -> Option<VectorFeature<M, P, D>> + Send + Sync;
}