mapcomplete/Models/BaseLayer.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
289 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
}