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

Helper methods - Basic color/size (default symbology and basemap) #648

Closed
7 tasks done
makella opened this issue May 7, 2019 · 3 comments
Closed
7 tasks done

Helper methods - Basic color/size (default symbology and basemap) #648

makella opened this issue May 7, 2019 · 3 comments
Assignees

Comments

@makella
Copy link
Contributor

makella commented May 7, 2019

  • default Basemap

default size/widths for

  • points
  • lines
  • polygons

default colors (see note below)

  • points
  • lines
  • polygons
@makella
Copy link
Contributor Author

makella commented May 8, 2019

Default basemap:

  • dark matter

Default colors:

  • currently, VL uses the same default colors for points, lines, and polygons that Builder does. For right now, we can keep those. I would like to spend some time testing those defaults with the proposed default sizes and also inside of the notebook (aesthetically) and also with legends.

Default (stroke)widths and strokecolors:

I've tried to test these defaults over a variety of datasets... not sure if they are the final, final, but will be good to see them throughout the workflows to get a better sense!

points:

'width': 'ramp(linear(zoom(),0,18),[2,10])',
'strokeWidth': 'ramp(linear(zoom(),0,18),[0,1])',
'strokeColor' : 'opacity(#222,ramp(linear(zoom(),0,18),[0,1]))'

lines:

'width': 'ramp(linear(zoom(),0,18),[0.5,4])'

polygons:

'strokeWidth': 'ramp(linear(zoom(),2,18),[0.5,1])',
'strokeColor' : 'opacity(#2c2c2c,ramp(linear(zoom(),2,18),[0.2,0.6]))'

cc @Jesus89 @VictorVelarde @rjimenezda

@makella
Copy link
Contributor Author

makella commented May 15, 2019

ok, first set of defaults for points, lines, polys above.

@Jesus89 Jesus89 added this to the Helper methods milestone May 16, 2019
@Jesus89 Jesus89 self-assigned this May 17, 2019
@Jesus89
Copy link
Member

Jesus89 commented May 17, 2019

Implemented in #675

@Jesus89 Jesus89 closed this as completed May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants