Skip to content

Commit

Permalink
Campaigns: Update GeoJSON link with download param
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans committed Feb 10, 2025
1 parent 4d58113 commit 2676bff
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/pages/kampagnen/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,14 @@ const maprouletteUrl = maprouletteChallengeUrl(page.data.maprouletteChallenge.id
.
</li>
<li>
MapRoulette: <a href={page.data.maprouletteChallenge.remoteGeoJson} target="_blank"
>GeoJson-Datei</a
>
MapRoulette Daten: <a
href={`${page.data.maprouletteChallenge.remoteGeoJson}?download=true`}
download
target="_blank">GeoJsonL-Datei</a
> (Newline-delimited GeoJSON)
</li>
<li>
<!-- TODO: Change this link to use the tags, not the source. Or change the source per campaign to be unique. -->
OSMCha: <a
href={`https://osmcha.org/?filters={"date__gte":[{"label":"2024-09-01","value":"2024-09-01"}],"source":[{"label":"${page.data.maprouletteChallenge.checkinSource}","value":"${page.data.maprouletteChallenge.checkinSource}"}]}`}
target="_blank"
Expand Down

0 comments on commit 2676bff

Please sign in to comment.