Skip to content

Make the legend shape reflect the tile shape #9

@DOSull

Description

@DOSull

Currently the legends are all rectangular, regardless of whether the underlying tiling is hexagonal or rectangular. It would be nice if the legend shape reflected the tiling type.

Because the legend size is limited to the bounds of the elements selected by _get_legend_elements() this is a bit more complicated than just making a buffered tile_unit.tile. So... some care required!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions