forked from MapComplete/MapComplete
Add maxzoom capability to layers
This commit is contained in:
parent
f0765df5ed
commit
878cb6d47d
5 changed files with 18 additions and 7 deletions
|
|
@ -49,10 +49,15 @@ export interface LayerConfigJson {
|
|||
|
||||
/**
|
||||
* The zoomlevel at which point the data is shown and loaded.
|
||||
* Default: 0
|
||||
*/
|
||||
minzoom: number;
|
||||
minzoom?: number;
|
||||
|
||||
|
||||
/**
|
||||
* The zoomlevel at which point the data is hidden again
|
||||
* Default: 100 (thus: always visible
|
||||
*/
|
||||
maxzoom?: number;
|
||||
|
||||
/**
|
||||
* The title shown in a popup for elements of this layer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue