Mercurial > gemma
changeset 805:12263aeb9c15
client: improve LegendElement code style
* Add comment to explain the special case for the Fairwary Dimensions
layer's style.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 27 Sep 2018 15:29:13 +0200 |
parents | 21609ba97357 |
children | 5ef542130865 |
files | client/src/layers/LegendElement.vue |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/layers/LegendElement.vue Thu Sep 27 15:00:52 2018 +0200 +++ b/client/src/layers/LegendElement.vue Thu Sep 27 15:29:13 2018 +0200 @@ -55,6 +55,10 @@ ); } + // we could add extra properties here, if they are needed for + // the styling function in the future. An idea is to extend the + // this.mapLayer["forLegendStyle"] for it. + // FIXME, this is a special case for the Fairway Dimensions style feature.set("level_of_service", ""); var vector = new VectorLayer({ source: new VectorSource({