chore(maps): keep the new map types local and lower the knip baseline

BasemapSpec and EffectiveMapEngine are only named inside their own
modules so far, so they stay unexported until a caller needs the name.
The basemap spec reads the Tours raster zoom limits from mapDefaults, so
one export there is no longer unused; the knip baseline follows.
This commit is contained in:
Maurice
2026-11-30 14:46:49 +01:00
parent 33f6540ec3
commit 06cd140bd3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import { isGcj02Basemap, resolveBasemap, templateHost } from '../../utils/tileUr
* pixel-density placeholders decided exactly as Leaflet decides them, so both
* renderers ask the provider for the same tiles. Pure and free of both GL SDKs.
*/
export type BasemapSpec = VectorBasemapSpec | RasterBasemapSpec;
type BasemapSpec = VectorBasemapSpec | RasterBasemapSpec;
interface VectorBasemapSpec {
kind: 'vector';
@@ -16,7 +16,7 @@ type OfflineBasemapPill =
/** The user's map is kept as far as it was viewed; the pill switches to the stored region and back. */
| { kind: 'toggle'; pressed: boolean; onToggle: () => void };
export interface EffectiveMapEngine {
interface EffectiveMapEngine {
/** The GL engine that draws this render, or null for Leaflet. */
engine: GlMapProvider | null;
/** The style a GL map draws instead of the user's: the stored offline basemap. */