Add maxzoom capability to layers

This commit is contained in:
Pieter Vander Vennet 2021-03-21 01:36:34 +01:00
parent f0765df5ed
commit 878cb6d47d
5 changed files with 18 additions and 7 deletions

View file

@ -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.