2020-09-27 22:48:43 +02:00
|
|
|
import {TileLayer} from "leaflet";
|
|
|
|
|
2021-01-04 04:06:21 +01:00
|
|
|
export default interface BaseLayer {
|
2020-09-27 22:48:43 +02:00
|
|
|
id: string,
|
|
|
|
name: string,
|
2021-06-23 02:15:28 +02:00
|
|
|
layer: () => TileLayer,
|
2020-09-27 22:48:43 +02:00
|
|
|
max_zoom: number,
|
|
|
|
min_zoom: number;
|
|
|
|
feature: any,
|
2021-07-14 00:17:15 +02:00
|
|
|
isBest?: boolean,
|
2021-09-09 00:05:51 +02:00
|
|
|
category?: "map" | "osmbasedmap" | "photo" | "historicphoto" | string
|
2020-09-27 22:48:43 +02:00
|
|
|
}
|