Skip to content

Commit

Permalink
Merge pull request #356 from dfpc-coe/3d-terrain
Browse files Browse the repository at this point in the history
3D Terrain
  • Loading branch information
ingalls authored Oct 2, 2024
2 parents 6bd635d + 6080060 commit b1003a1
Show file tree
Hide file tree
Showing 6 changed files with 553 additions and 467 deletions.
2 changes: 1 addition & 1 deletion api/lib/control/tilejson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default class TileJSON {
}

// Consistent Mapbox Style ZXY Endpoints: {z} vs TAK: {$z}
const pathname = decodeURIComponent(url.pathname).replace(/\{\$/, '{');
const pathname = decodeURIComponent(url.pathname).replace(/\{\$/g, '{');

if (
!(pathname.includes('{z}') && pathname.includes('{x}') && pathname.includes('{y}'))
Expand Down
2 changes: 1 addition & 1 deletion api/lib/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export enum Basemap_Style {

export enum Basemap_Type {
RASTER = 'raster',
TERRAIN = 'terrain',
TERRAIN = 'raster-dem',
VECTOR = 'vector',
}

Expand Down
Loading

0 comments on commit b1003a1

Please sign in to comment.