Skip to content

Secondary colors for polygon outlines in viz #441

Closed
@kylebarron

Description

@kylebarron

We should infer some default colors for polygon outlines when rendering data through viz. The existing primary colors are here, which are randomly chosen:

# From mbview
# https://github.com/mapbox/mbview/blob/e64bd86cfe4a63e6af4ea1d310bd49be4f162a43/views/vector.ejs#L75-L87
COLORS = [
"#FC49A3", # pink
"#CC66FF", # purple-ish
"#66CCFF", # sky blue
"#66FFCC", # teal
"#00FF00", # lime green
"#FFCC66", # light orange
"#FF6666", # salmon
"#FF0000", # red
"#FF8000", # orange
"#FFFF66", # yellow
"#00FFFF", # turquoise
]

This is a separate issue separated from #330

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions