mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Remove test data
This commit is contained in:
parent
71ac754ec3
commit
026b54c088
22
build.rs
22
build.rs
@ -20,13 +20,17 @@ fn main() {
|
||||
}
|
||||
let source = Path::new(&root_dir).join(format!("test-data/munich-{}.mbtiles", MUNICH_Z));
|
||||
|
||||
// Pack tiles around Munich HBF (100 tiles in each direction)
|
||||
extract(
|
||||
source,
|
||||
out,
|
||||
MUNICH_Z,
|
||||
(MUNICH_X - 100)..(MUNICH_X + 100),
|
||||
(MUNICH_Y - 100)..(MUNICH_Y + 100),
|
||||
)
|
||||
.unwrap();
|
||||
if source.exists() {
|
||||
// Pack tiles around Munich HBF (100 tiles in each direction)
|
||||
extract(
|
||||
source,
|
||||
out,
|
||||
MUNICH_Z,
|
||||
(MUNICH_X - 100)..(MUNICH_X + 100),
|
||||
(MUNICH_Y - 100)..(MUNICH_Y + 100),
|
||||
)
|
||||
.unwrap();
|
||||
} else {
|
||||
// Do not statically embed tiles
|
||||
}
|
||||
}
|
||||
|
||||
1
test-data/.gitignore
vendored
1
test-data/.gitignore
vendored
@ -1,2 +1 @@
|
||||
*.mbtiles
|
||||
!munich-12.mbtiles
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user