Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
maxammann committed Nov 10, 2024
1 parent 1555afc commit d6ccbc3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 1 addition & 3 deletions web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ pub async fn run_maplibre(new_worker: js_sys::Function) -> Result<(), JSError> {
vec![
Box::<maplibre::render::RenderPlugin>::default(),
Box::<maplibre::vector::VectorPlugin<platform::UsedVectorTransferables>>::default(),
Box::new(maplibre::sdf::SdfPlugin::<
platform::UsedVectorTransferables,
>::default()),
Box::new(maplibre::sdf::SdfPlugin::<platform::UsedVectorTransferables>::default()),
// Box::new(RasterPlugin::<platform::UsedRasterTransferables>::default()),
#[cfg(debug_assertions)]
Box::<maplibre::debug::DebugPlugin>::default(),
Expand Down
10 changes: 6 additions & 4 deletions web/src/platform/singlethreaded/transferables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ use maplibre::{
apc::{IntoMessage, Message, MessageTag},
geometry_index::TileIndex,
},
sdf::SymbolLayerData,
raster::{
AvailableRasterLayerData, LayerRaster, LayerRasterMissing, MissingRasterLayerData,
RasterTransferables,
},
render::{shaders::ShaderSymbolVertex, ShaderVertex},
render::{
shaders::{ShaderSymbolVertex, ShaderSymbolVertexNew},
ShaderVertex,
},
sdf::{Feature, SymbolLayerData},
tile::Layer,
vector::{
AvailableVectorLayerBucket, LayerIndexed, LayerMissing, LayerTessellated,
MissingVectorLayerBucket, SymbolLayerTessellated, TileTessellated, VectorTransferables,
},
};
use maplibre::render::shaders::ShaderSymbolVertexNew;
use maplibre::sdf::Feature;

use crate::platform::singlethreaded::{
apc::WebMessageTag,
transferables::{
Expand Down

0 comments on commit d6ccbc3

Please sign in to comment.