Skip to content

Commit d6ef150

Browse files
committed
doc: Fix links RasterTileProvider -> RasterTileLoader in docs
1 parent e0f17d1 commit d6ef150

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

galileo/src/layer/raster_tile_layer/builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl RasterTileLayerBuilder {
141141
/// fails, building the tile layer will return an error.
142142
///
143143
/// Cannot be used with custom tile provider given by
144-
/// [`RasterTileLayerBuilder::new_with_provider()`] method as the provider must have already be
144+
/// [`RasterTileLayerBuilder::new_with_loader()`] method as the provider must have already be
145145
/// created with the cache configured. So in this case building will also return an error.
146146
///
147147
/// Replaces the value set by the [`RasterTileLayerBuilder::with_cache_controller()`] method.
@@ -208,7 +208,7 @@ impl RasterTileLayerBuilder {
208208
/// Adds the given persistent cache for the tiles.
209209
///
210210
/// Cannot be used with custom tile provider given by
211-
/// [`RasterTileLayerBuilder::new_with_provider()`] method as the provider must have already be
211+
/// [`RasterTileLayerBuilder::new_with_loader()`] method as the provider must have already be
212212
/// created with the cache configured. So in this case building will also return an error.
213213
///
214214
/// Replaces the value set by the [`RasterTileLayerBuilder::with_file_cache()`] method.
@@ -243,7 +243,7 @@ impl RasterTileLayerBuilder {
243243
/// to identify tiles in the cache.
244244
///
245245
/// Cannot be used with custom tile provider given by
246-
/// [`RasterTileLayerBuilder::new_with_provider()`] method as the provider must have already be
246+
/// [`RasterTileLayerBuilder::new_with_loader()`] method as the provider must have already be
247247
/// created with the offline mode. So in this case building will also return an error.
248248
///
249249
/// If the layer is set to offline mode but there is no cache configured, building it will

galileo/src/layer/raster_tile_layer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub use provider::{RasterTileLoader, RestTileLoader};
2020
mod builder;
2121
pub use builder::RasterTileLayerBuilder;
2222

23-
/// Raster tile layers load prerendered tile sets using [tile provider](RasterTileProvider) and render them to the map.
23+
/// Raster tile layers load prerendered tile sets using [tile loader](RasterTileLoader) and render them to the map.
2424
pub struct RasterTileLayer {
2525
tile_loader: Arc<dyn RasterTileLoader>,
2626
tile_container: Arc<TilesContainer<(), RasterTileProvider>>,

0 commit comments

Comments
 (0)