Skip to content

[Feat] grass.jupyter.InteractiveMap needs a legend #5468

@petrasovaa

Description

@petrasovaa

Is your feature request related to a problem? Please describe.
grass.jupyter.InteractiveMap needs a raster legend, there is no way to display it.

Describe the solution you'd like
One way would be to use d.legend and display that, but I think it will be nicer to get the color values with r.colors.out and use some html/javascript magic to create a legend.

Describe alternatives you've considered
Render d.legend into a file and display that on top of the map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions