Skip to content

Instantly share code, notes, and snippets.

@ajashton
ajashton / index.html
Created December 12, 2012 21:24 — forked from tmcw/index.html
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
@ajashton
ajashton / index.html
Created November 15, 2012 17:08 — forked from tmcw/README.md
One-way markers demo
<!DOCTYPE html>
<meta charset="utf-8">
<title>SVG Swarm</title>
<style>
svg {
position: absolute;
top: 0;
}
@1: #DEB147;
@2: #D68A5A;
@3: #D5796B;
@4: #BE6291;
@5: #93639E;
@nodata:#a4abaf;
#tmsch1[all_gradrate09 < .6][all_gradrate09 > 0]::data {
[all_gradrate09 < .6][all_gradrate09 > 0] {marker-fill: @2;}
marker-height:1;