Skip to content

Instantly share code, notes, and snippets.

@wboykinm wboykinm/dodeuro.mss
Created Jan 11, 2012

Embed
What would you like to do?
Carto error unknown
Map {
/*background-color: #b8dee6;*/
}
/*#countries {
::outline {
line-color: #85c5d3;
line-width: 2;
line-join: round;
}
polygon-fill: #fff;
}*/
/************************styled on two variables*************************/
#dodeuro {
[Total Personnel<=1000] {
[zoom>0][zoom<6] { marker-height: 0.5; }
[zoom>5][zoom<9] { marker-height: 2; }
[zoom>8][zoom<12] { marker-height: 5; }
[zoom>11] { marker-height: 10; }
[Score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; }
[Score>=15][Score<20] { marker-line-color: #253494; marker-fill: #41B6C4; }
[Score>=20][Score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; }
[Score>=25][Score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; }
[Score>=30] { marker-line-color: #253494; marker-fill: #FFFFCC; }
}
[Total Personnel>1000][Total Personnel<=5000] {
[zoom>0][zoom<6] { marker-height: 2; }
[zoom>5][zoom<9] { marker-height: 5; }
[zoom>8][zoom<12] { marker-height: 8; }
[zoom>11] { marker-height: 12; }
[Score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; }
[Score>=15][Score<20] { marker-line-color: #253494; marker-fill: #41B6C4; }
[Score>=20][Score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; }
[Score>=25][Score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; }
[Score>=30] { marker-line-color: #253494; marker-fill: #FFFFCC; }
}
[Total Personnel>5000][Total Personnel<=20000] {
[zoom>0][zoom<6] { marker-height: 2; }
[zoom>5][zoom<9] { marker-height: 6; }
[zoom>8][zoom<12] { marker-height: 12; }
[zoom>11] { marker-height: 15; }
[Score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; }
[Score>=15][Score<20] { marker-line-color: #253494; marker-fill: #41B6C4; }
[Score>=20][Score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; }
[Score>=25][Score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; }
[Score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; }
}
[Total Personnel>20000][Total Personnel<=200000] {
[zoom>0][zoom<6] { marker-height: 3; }
[zoom>5][zoom<9] { marker-height: 10; }
[zoom>8][zoom<12] { marker-height: 12; }
[zoom>11] { marker-height: 30; }
[Score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; }
[Score>=15][Score<20] { marker-line-color: #253494; marker-fill: #41B6C4; }
[Score>=20][Score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; }
[Score>=25][Score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; }
[Score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; }
}
[Total Personnel>200000][Total Personnel<=500000] {
[zoom>0][zoom<6] { marker-height: 5; }
[zoom>5][zoom<9] { marker-height: 15; }
[zoom>8][zoom<12] { marker-height: 20; }
[zoom>11] { marker-height: 40; }
[Score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; }
[Score>=15][Score<20] { marker-line-color: #253494; marker-fill: #41B6C4; }
[Score>=20][Score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; }
[Score>=25][Score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; }
[Score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; }
}
[Total Personnel>500000] {
[zoom>0][zoom<5] { marker-height: 10; }
[zoom>4][zoom<9] { marker-height: 20; }
[zoom>8][zoom<12] { marker-height: 30; }
[zoom>11] { marker-height: 50; }
[Score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; }
[Score>=15][Score<20] { marker-line-color: #253494; marker-fill: #41B6C4; }
[Score>=20][Score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; }
[Score>=25][Score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; }
[Score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; }
} */
marker-allow-overlap: true; /* allow markers to overlap */
marker-opacity: .6; /* set the marker to 60% opacity */
marker-line-opacity: .8; /* set the line to 80% opacity */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.