From 963e91ec859cf919034e317497133d609ca23dce Mon Sep 17 00:00:00 2001 From: Blayne Chard Date: Mon, 23 Sep 2024 13:17:21 +1200 Subject: [PATCH] refactor: fixup lint issues --- packages/landing/src/attribution.ts | 1 - packages/landing/src/components/layer.switcher.dropdown.tsx | 1 - packages/landing/src/tile.matrix.ts | 2 +- packages/landing/src/url.ts | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/landing/src/attribution.ts b/packages/landing/src/attribution.ts index 05cdedd90..d43d4794c 100644 --- a/packages/landing/src/attribution.ts +++ b/packages/landing/src/attribution.ts @@ -61,7 +61,6 @@ export class MapAttributionState { return attrsByYear; } - // Ignore DEMS from the attribution list isIgnored = (attr: AttributionBounds): boolean => { const title = attr.collection.title.toLowerCase(); diff --git a/packages/landing/src/components/layer.switcher.dropdown.tsx b/packages/landing/src/components/layer.switcher.dropdown.tsx index 116d79fc9..887278098 100644 --- a/packages/landing/src/components/layer.switcher.dropdown.tsx +++ b/packages/landing/src/components/layer.switcher.dropdown.tsx @@ -1,4 +1,3 @@ -import { Bounds, GoogleTms, Projection } from '@basemaps/geo'; import { intersection, MultiPolygon, truncate, Wgs84 } from '@linzjs/geojson'; import { ChangeEventHandler, Component, ReactNode } from 'react'; import Select from 'react-select'; diff --git a/packages/landing/src/tile.matrix.ts b/packages/landing/src/tile.matrix.ts index 6d269ac4a..c57d72146 100644 --- a/packages/landing/src/tile.matrix.ts +++ b/packages/landing/src/tile.matrix.ts @@ -1,4 +1,4 @@ -import { BoundingBox, Bounds, GoogleTms, Nztm2000QuadTms, Nztm2000Tms, Projection, TileMatrixSet } from '@basemaps/geo'; +import { GoogleTms, Nztm2000QuadTms, Nztm2000Tms, Projection, TileMatrixSet } from '@basemaps/geo'; import { BBox } from '@linzjs/geojson'; import { StyleSpecification } from 'maplibre-gl'; diff --git a/packages/landing/src/url.ts b/packages/landing/src/url.ts index c5593b4a0..2c9348da2 100644 --- a/packages/landing/src/url.ts +++ b/packages/landing/src/url.ts @@ -62,6 +62,7 @@ export interface TileUrlParams { style?: string | null; config?: string | null; pipeline?: string | null; + date?: FilterDate; imageFormat?: string | null; terrain?: string | null; labels?: boolean | null;