Skip to content

Commit a7480f6

Browse files
authored
Update roadmap Globe View and MLT (#389)
* Update roadmap Globe View & MLT * fix syntax?
1 parent 09507d3 commit a7480f6

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

src/content.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const roadmapItems = defineCollection({
3737
z.object({
3838
title: z.string(),
3939
heroImage: image(),
40+
heroImageFit: z.optional(z.enum(["fill", "contain", "cover"])),
4041
status: z.enum(["under-consideration", "in-progress", "released"]),
4142
bountyLink: z.optional(z.string()),
4243
bountyActive: z.optional(z.boolean()),

src/content/roadmap/globe-view/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Globe View
33
heroImage: "./image.png"
4-
status: in-progress
4+
status: released
55
bountyActive: true
66
bountyLink: https://github.com/maplibre/maplibre/issues/190
77
---
@@ -12,3 +12,7 @@ Goals:
1212
- Ability to show and interact with Globe (or alternative view on earth) when map is zoomed out - while reusing and loading the same Mercator vector tile and raster data - client side reprojection of the data - using Adaptive Composite Map Projection - where deeply zoomed you are in Mercator - but from certain zoom level up there is transition to another projection.
1313

1414
Discussion Thread: https://github.com/maplibre/maplibre/discussions/161
15+
16+
Globe View is not yet available for MapLibre Native, see this issue: https://github.com/maplibre/maplibre-native/issues/3161
17+
18+
Globe View or Globe Projection was released as part of [MapLibre GL JS 5.0.0](https://github.com/maplibre/maplibre-gl-js/releases/tag/v5.0.0) in January 2025.
261 KB
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: MapLibre Tiles
3+
heroImage: "./image.png"
4+
heroImageFit: contain
5+
status: in-progress
6+
---
7+
8+
Development of the [MapLibre Tile Spec (MLT)](https://github.com/maplibre/maplibre-tile-spec) is mostly finalized. MLT is a next-generation tile format and a successor to MVT.
9+
10+
As of January 2025, implementation has started for MapLibre GL JS and MapLibre Native.

src/pages/roadmap/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function formatDate(dateString) {
6262
class="card-img-top"
6363
src={item.data.heroImage}
6464
alt={item.data.title}
65-
style="width: 100%; height: 250px; object-fit: cover;"
65+
style={`width: 100%; height: 250px; object-fit: ${item.data.heroImageFit || "cover"};`}
6666
/>
6767
<div class="card-body">
6868
<h5 class="card-title">{item.data.title}</h5>

0 commit comments

Comments
 (0)