Skip to content

Conversation

@napakalas
Copy link
Contributor

This is a PR for issue #319
The related PR is:
AnatomicMaps/flatmap-viewer#70

const specifiedColour = this.item["color"] ? this.item["color"] : this.item["colour"];
let colour = specifiedColour ? specifiedColour : "transparent";
let borderColour = this.item.border ? this.item.border : "black";
let borderStyle = this.item.borderStyle ? this.item.borderStyle : "solid";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is messing up the style of few other legends. It should fall back to default instead of solid.

Copy link
Member

@alan-wu alan-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some legends are not correct with the border set to solid.

@alan-wu alan-wu changed the title Add borderStyle property, defaulting to solid if not set. Add borderStyle property, defaulting to default if not set. Nov 17, 2025
@alan-wu alan-wu merged commit d5fb3c8 into ABI-Software:main Nov 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants