mapcomplete/Models/BaseLayer.ts

12 lines
294 B
TypeScript
Raw Normal View History

2020-09-27 22:48:43 +02:00
import {TileLayer} from "leaflet";
export default interface BaseLayer {
2020-09-27 22:48:43 +02:00
id: string,
name: string,
layer: () => TileLayer,
2020-09-27 22:48:43 +02:00
max_zoom: number,
min_zoom: number;
feature: any,
isBest?: boolean,
category?: "map" | "osmbasedmap" | "photo" | "historicphoto" | string
2020-09-27 22:48:43 +02:00
}