kalisio / kano

Map and weather forecast data explorer in 2D/3D
https://kalisio.github.io/kano/
MIT License
24 stars 7 forks source link

The legend has an orientation depending on the displayed layer #40

Closed cnouguier closed 5 years ago

cnouguier commented 5 years ago

It seems that the orientation of the legend is depending from the domain of the chroma object provided by the current displayed layer. As chroma provides the capability to invert a domain, the legend orientation is also inverted. It should be always oriented from bottom to top with the lowest value of the domain at the bottom and the highest value at the top.

leob commented 5 years ago

This should be fixed now, I've pushed a corrected version of KColorLegend.vue (git commit 6a60630 in the kMap repo).

leob commented 5 years ago

Closing this now