Skip to content

Instantly share code, notes, and snippets.

View tmcw's full-sized avatar
💭
merging your prs

Tom MacWright tmcw

💭
merging your prs
View GitHub Profile
@tmcw
tmcw / README.md
Created November 14, 2012 20:32 — forked from mbostock/.block
SVG Swarm
@tmcw
tmcw / README.md
Last active July 12, 2018 22:22 — forked from mbostock/.block
Line Chart
@tmcw
tmcw / index.html
Created September 20, 2012 16:26 — forked from bsudekum/index.html
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.5/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.5/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
@tmcw
tmcw / index.html
Created September 5, 2012 19:25 — forked from samanpwbb/index.html
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.5/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.5/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
@tmcw
tmcw / index.html
Created August 28, 2012 16:43 — forked from dvd3141/index.html
MapBox showOnHover debugging
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.4/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.4/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
@tmcw
tmcw / index.html
Created August 24, 2012 16:27 — forked from dvd3141/index.html
MapBox showOnHover debugging
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.4/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.4/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
@tmcw
tmcw / index.html
Created June 20, 2012 16:47 — forked from tristen/index.html
Map/Update Map function
<div id='map'></div>
<ul class='layers'>
<li><a class='active' data-layer='mapbox.mapbox-graphite' href='#'>Mapbox Graphite</a></li>
</ul>
@tmcw
tmcw / README.md
Created June 19, 2012 14:07 — forked from tristen/README.md
Two Maps

##Two Maps

Experiment in synching two maps together.

Contributors

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Wax Interactivity</title>
</head>
<body>
<style>
#map {
width: 100%;
@tmcw
tmcw / index.html
Created March 21, 2012 21:00 — forked from javisantana/map.html
modest map problem
<!DOCTYPE html>
<html>
<head>
<title>Modest Maps JS</title>
<script type="text/javascript" src="https://raw.github.com/stamen/modestmaps-js/master/modestmaps.js"></script>
<script type="text/javascript">
var map;
function initMap() {
// some test