Skip to content

Instantly share code, notes, and snippets.

View bsudekum's full-sized avatar
👋

Bobby Sudekum bsudekum

👋
View GitHub Profile
@bsudekum
bsudekum / index.html
Created February 4, 2014 23:27
Esri + mapbox + clustering
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.css' rel='stylesheet' />
<script src='//code.jquery.com/jquery-2.0.3.min.js'></script>
@bsudekum
bsudekum / index.html
Created March 26, 2014 00:29
Layer switcher
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Layers</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.js'></script>
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.css' rel='stylesheet' />
@bsudekum
bsudekum / index.html
Last active August 29, 2015 14:01 — forked from lxbarth/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.css' rel='stylesheet' />
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.6.2/mapbox.js'></script>
<script src='http://code.jquery.com/jquery-1.11.1.min.js'></script>
<style>
body {padding: 0; margin: 0;}
#map { position:absolute; top:0; bottom:0; width:100%; }
@bsudekum
bsudekum / index.js
Created December 18, 2014 20:05
requirebin sketch
var rg = require('react-geocoder');
console.log(rg);
@bsudekum
bsudekum / index.js
Created December 18, 2014 20:05
requirebin sketch
var rg = require('react-geocoder');
console.log(rg);
@bsudekum
bsudekum / tm.md
Last active August 29, 2015 14:15

TileMill 0.11.0

What is this?

In the past, creating new releases of TileMill was long and arduous process. With the future release of TileMill 0.11.0, builds will be automated on travis. Very few changes should be visible on the surface.

The biggest change is that TileMill 0.11.0 is wrapped in atom-shell, similarity to Mapbox Studio.

Find a bug?

@bsudekum
bsudekum / Interact.txt
Created May 24, 2012 02:23
Files for TileMill Interactivity Example
<h5 style="text-align:center;">U.S. Crime Rates</h5>
<img src="http://chart.apis.google.com/chart?chbh=a,5,15&chs=300x150&cht=bvg&chco=4D89F9,000000,FF9900&chd=t:{{{murder and}}}|{{{robbery ra}}}|{{{forcible r}}}&chdl=Muder|Robbery|Forcible+Rape" width="300" height="150" alt="" />
@bsudekum
bsudekum / Create PhoneGap Project
Created September 11, 2012 02:17
PhoneGap Create
./create <project_folder_path> <package_name> <project_name>
Example:
./create ~/Documents/Projects/phonegap/MeatText com.MeatText MeatText
<!DOCTYPE html>
<html>
<head>
<title>Leaflet Layers Control Example</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.ie.css" />
<![endif]-->
<script src="http://cdn.leafletjs.com/leaflet-0.4.4/leaflet.js"></script>
@bsudekum
bsudekum / index.html
Created September 20, 2012 16:05
OSM Bike Only Layer
<!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>