mapcomplete/Models/BaseLayer.ts

13 lines
289 B
TypeScript
Raw Normal View History

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