mapcomplete/Models/BaseLayer.ts

12 lines
No EOL
294 B
TypeScript

import {TileLayer} from "leaflet";
export default interface BaseLayer {
id: string,
name: string,
layer: () => TileLayer,
max_zoom: number,
min_zoom: number;
feature: any,
isBest?: boolean,
category?: "map" | "osmbasedmap" | "photo" | "historicphoto" | string
}