Typing and refactoring of FilteredLayer

This commit is contained in:
Pieter Vander Vennet 2020-09-30 23:34:44 +02:00
parent 649b273b97
commit e16a210ee1
4 changed files with 27 additions and 18 deletions

View file

@ -76,9 +76,9 @@ export class LayerDefinition {
weight?: number,
icon: {
iconUrl: string,
iconSize?: number[],
popupAnchor?: number[],
iconAnchor?: number[]
iconSize?: [number, number],
popupAnchor?: [number,number],
iconAnchor?: [number,number]
},
};