forked from MapComplete/MapComplete
Better typing of the basemap class
This commit is contained in:
parent
e731640e5f
commit
62cc392cfd
7 changed files with 108 additions and 75 deletions
12
Logic/BaseLayer.ts
Normal file
12
Logic/BaseLayer.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {TileLayer} from "leaflet";
|
||||
|
||||
export interface BaseLayer {
|
||||
id: string,
|
||||
name: string,
|
||||
attribution_url: string,
|
||||
layer: TileLayer,
|
||||
max_zoom: number,
|
||||
min_zoom: number;
|
||||
feature: any,
|
||||
attribution?: string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue