mapcomplete/Models/BaseLayer.ts

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

11 lines
305 B
TypeScript
Raw Normal View History

export default interface BaseLayer {
2020-09-27 22:48:43 +02:00
id: string
name: string
layer: () => any /*leaflet.TileLayer - not importing as it breaks scripts*/
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
}