[go: up one dir, main page]

add styling to mappings.yaml

styles for linestrings, polygons, points, etc. should be set based on values from mappings.yaml. This will require parsing mappings.yaml and dynamically updating the style.json (or the style object pulled from the API).

this issue also needs to handle for multiple styles per type (e.g., circle, polygon, etc.)

These appear to be the acceptable styles per type.

points: "circle-color": "hsl(38, 73%, 51%)", "circle-radius": 10, "circle-stroke-color": "hsl(0, 0%, 0%)", "circle-stroke-width": 1

lines: "line-color": "hsl(19, 87%, 39%)", "line-width": 4

polygons: "fill-color": "hsla(195, 100%, 40%, 0.25)", "fill-outline-color": "hsla(195, 100%, 40%, 0.5)"

Edited by Travis Dillon