Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created November 1, 2014 03:00
Show Gist options
  • Save wboykinm/9323fc2bc8623f3908de to your computer and use it in GitHub Desktop.
Save wboykinm/9323fc2bc8623f3908de to your computer and use it in GitHub Desktop.
Map {
background-color: #fff;
/*background-image:url('../img/Seamless Paper Textures/Seamless Paper Textures/seamlesspaper2.jpg');*/
}
#countries {
::outline {
line-color: #85c5d3;
line-width: 2;
line-join: round;
}
polygon-fill: #b8b9bc;
}
#dotbase {
[zoom<=8]{marker-width:3;}
[zoom=9]{marker-width:4;}
[zoom=10]{marker-width:6;}
[zoom=11]{marker-width:10;}
[zoom=12]{marker-width:12;}
marker-fill:#2099DE;
marker-opacity:0.5;
marker-line-width:0;
marker-line-color:#813;
marker-allow-overlap:true;
}
#dots {
::topo {
marker-fill:#207BBF;
marker-opacity:1;
marker-line-width:0;
marker-allow-overlap:true;
[zoom<=8]{marker-width:[demmean]/600;}
[zoom=9]{marker-width:[demmean]/330;}
[zoom=10]{marker-width:[demmean]/170;}
[zoom=11]{marker-width:[demmean]/90;}
[zoom=12]{marker-width:[demmean]/40;}
}
}
#cont50 {
[CONTOUR=1000],[CONTOUR=2000],[CONTOUR=3000]{
line-width:0.1;
line-color:#8800ff;
line-opacity:0.2;
line-smooth:20;
line-comp-op:color-dodge;
}
}
#resorts {
[zoom<=8]{marker-width:20;}
[zoom=9]{marker-width:24;}
[zoom=10]{marker-width:30;}
[zoom=11]{marker-width:40;}
[zoom=12]{marker-width:50;}
marker-fill:#FFF;
marker-line-width:0;
marker-fill-opacity:0.9;
marker-allow-overlap:true;
}
#resorts2 {
marker-file:url('../img/Symbolicons Bundle/Symbolicons Junior/svg/compass.svg');
marker-fill:#444;
marker-opacity:1;
[zoom<=8]{marker-width:18;}
[zoom=9]{marker-width:20;}
[zoom=10]{marker-width:24;}
[zoom=11]{marker-width:30;}
[zoom=12]{marker-width:40;}
marker-allow-overlap:true;
}
#vt {
line-color:#bfbfbf;
line-width:0.5;
line-smooth:20;
polygon-opacity:1;
polygon-fill:#cdcdcd;
polygon-comp-op:overlay;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment