Skip to content

Commit

Permalink
Merge pull request #241 from PDOK/fix-broken-link
Browse files Browse the repository at this point in the history
fix(tiles): Fix broken link to JSON representation of collection-level tiles
  • Loading branch information
rkettelerij authored Sep 25, 2024
2 parents 5ee54a9 + be2b0d8 commit 237af17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/ogc/tiles/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,16 @@ func renderTilesTemplates(e *engine.Engine, collection *config.GeoSpatialCollect

// Now render metadata bout tiles per projection/SRS.
for _, projection := range AllProjections {
path = tilesPath + "/" + projection

projectionBreadcrumbs := breadcrumbs
projectionBreadcrumbs = append(projectionBreadcrumbs, []engine.Breadcrumb{
{
Name: projection,
Path: tilesLocalPath + projection,
Path: collectionsCrumb + collectionID + path,
},
}...)

path = tilesPath + "/" + projection
if collection != nil {
path = g.CollectionsPath + "/" + collectionID + tilesPath + "/" + projection
}
Expand Down

0 comments on commit 237af17

Please sign in to comment.