Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make colors of measure features configurable #25

Merged
merged 1 commit into from
Jul 2, 2018

Conversation

chrismayer
Copy link
Collaborator

This makes the colors of the feature style for the measure features configurable. By adding a config section like

    "wgumeasure": {
      "strokeColor": "#c62828",
      "fillColor": "rgba(198,40,40,0.2)",
      "sketchStrokeColor": "rgba(198,40,40,0.8)",
      "sketchFillColor": "rgba(198,40,40,0.1)",
      "sketchVertexStrokeColor": "#c62828",
      "sketchVertexFillColor": "rgba(198,40,40,0.2)"
    }

one can change the different colors. The previous values are used as fallback. So if one does not specify a color the app would look like before.

@chrismayer chrismayer merged commit b5a0aa4 into wegue-oss:master Jul 2, 2018
@chrismayer chrismayer deleted the measure-colors branch July 2, 2018 13:50
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.

1 participant