Skip to content

Commit eb13f5b

Browse files
committed
Add topo-raster into layer selector
1 parent 0450412 commit eb13f5b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/landing/src/components/map.label.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { IControl } from 'maplibre-gl';
22

33
import { Config, GaEvent, gaEvent } from '../config.js';
44

5-
export const LabelsDisabledLayers = new Set(['topographic', 'topolite']);
5+
export const LabelsDisabledLayers = new Set(['topographic', 'topolite', 'topo-raster']);
66

77
export class MapLabelControl implements IControl {
88
map?: maplibregl.Map;

packages/landing/src/config.map.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,13 @@ function addDefaultLayers(output: Map<string, LayerInfo>): void {
404404
category: 'Basemaps',
405405
},
406406

407+
{
408+
id: 'topo-raster::topo-raster',
409+
title: 'NZ Topo Gridless Maps',
410+
projections: new Set([EpsgCode.Nztm2000, EpsgCode.Google]),
411+
category: 'Basemaps',
412+
},
413+
407414
{
408415
id: 'elevation',
409416
title: 'Elevation',

0 commit comments

Comments
 (0)