Skip to content

Commit

Permalink
fix(tiles): Fix broken link to JSON representation of collection-leve…
Browse files Browse the repository at this point in the history
…l tiles.
  • Loading branch information
rkettelerij committed Sep 23, 2024
1 parent 5ee54a9 commit be2b0d8
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 be2b0d8

Please sign in to comment.