mapcomplete/Models/BaseLayer.ts

11 lines
305 B
TypeScript
Raw Normal View History

export default interface BaseLayer {
2022-09-08 21:40:48 +02:00
id: string
name: string
layer: () => any /*leaflet.TileLayer - not importing as it breaks scripts*/
2022-09-08 21:40:48 +02:00
max_zoom: number
min_zoom: number
feature: any
isBest?: boolean
category?: "map" | "osmbasedmap" | "photo" | "historicphoto" | string
2022-09-08 21:40:48 +02:00
}