aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hittekaart/src/storage.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/hittekaart/src/storage.rs b/hittekaart/src/storage.rs
index d52a900..5c2d453 100644
--- a/hittekaart/src/storage.rs
+++ b/hittekaart/src/storage.rs
@@ -283,6 +283,9 @@ impl MbTiles {
})
}
+ /// Set the name of this MBTiles tile store.
+ ///
+ /// The default name is `"Heatmap"`.
pub fn with_name(self, name: String) -> Self {
MbTiles {
name,
@@ -290,6 +293,10 @@ impl MbTiles {
}
}
+ /// Set (or unset) the description of this MBTiles tile store.
+ ///
+ /// By default, no description will be written. If a description has been set, it can be
+ /// removed by using `with_description(None)`.
pub fn with_description(self, description: Option<String>) -> Self {
MbTiles {
description,