Skip to content

Instantly share code, notes, and snippets.

@ramiroaznar
Created October 11, 2017 14:17
Show Gist options
  • Save ramiroaznar/4ee365943d24a73f50f505133578d8cd to your computer and use it in GitHub Desktop.
Save ramiroaznar/4ee365943d24a73f50f505133578d8cd to your computer and use it in GitHub Desktop.
New Generic CartoCSS
#layer['mapnik::geometry_type'=1] {
marker-width: 7;
marker-fill: #EE4D5A;
marker-fill-opacity: 0.9;
marker-line-color: #FFFFFF;
marker-line-width: 1;
marker-line-opacity: 1;
marker-type: ellipse;
marker-allow-overlap: true;
}
#layer['mapnik::geometry_type'=2] {
line-color: #4CC8A3;
line-width: 1.5;
line-opacity: 1;
}
#layer['mapnik::geometry_type'=3] {
polygon-fill: #826DBA;
polygon-opacity: 0.9;
::outline {
line-color: #FFFFFF;
line-width: 1;
line-opacity: 0.5;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment