Skip to content

Instantly share code, notes, and snippets.

@TheMapSmith
TheMapSmith / index.html
Last active March 22, 2016 12:48
Swipe no texture
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.15.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.15.0/mapbox-gl.css' rel='stylesheet' />
<style>
@TheMapSmith
TheMapSmith / index.html
Last active March 22, 2016 11:17
Firef.ly style swipe
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.15.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.15.0/mapbox-gl.css' rel='stylesheet' />
<style>
@TheMapSmith
TheMapSmith / urllist-20160226.md
Created February 26, 2016 15:14
URL list from Friday, Feb. 26 2016 10:13 AM

sailor mercury on Twitter: "i just wrote a post about the intersection of art and technology: https://t.co/G62eWt5aiv" https://twitter.com/sailorhg/status/702573207417532416

Emily Calandrelli on Twitter: "Meet the new platform from @astrodigitalgeo that allows anyone to analyze satellite imagery: https://t.co/n4X7hgbmcU https://t.co/4eOvHEIeU4" https://twitter.com/TheSpaceGal/status/702586353230348288

NOAA Digital Coast on Twitter: "A lot can happen in 14 yrs. See all #GreatLakes #landcover changes https://t.co/KpxAVBhmID #GreatLakesWeek #GLCDC16 https://t.co/HOQk8zq4QI" https://twitter.com/NOAADigCoast/status/702597745006284801

Atanas Entchev on Twitter: "This is lovely. "If You’re Gonna Subtweet, Do It Right" https://t.co/VDO4lHIEI3"

@TheMapSmith
TheMapSmith / chicago-race-plans.md
Last active February 18, 2016 08:55
Chicago Race Plans

Plan for replicating the Chicago race map

  • Download 2014 ACS 5y ancestry estimates (census tracts)✔
  • Knock out all non-livable areas out of the census tracts
    • Roadedge (Cook Co Open Data) <-- Stuck trying to simplify this file to be manageable
    • Parks (Cook) ✔
    • Non-residential land use (OSM) ✔
    • Non-residental OSM buildings (OSM) ✔
  • Massively simplify the resulting tracts
@TheMapSmith
TheMapSmith / chicago-race-plans.md
Created February 15, 2016 14:21
Chicago Race Plans

Plan for replicating the Chicago race map

[ ] Download 2014 ACS 5y ancestry estimates (census tracts) [ ] Knock out all non-livable areas out of the census tracts [ ] Roadedge (Cook Co Open Data) [ ] Parks (Cook) [ ] Non-residential land use (OSM) [ ] Non-residental OSM buildings (OSM) [ ] Massively simplify the resulting tracts

@TheMapSmith
TheMapSmith / OK_Chat_CoC.md
Created January 13, 2016 23:00
Spears Chat Code of Conduct

#Code of Conduct

##Entrepreneur Chat

Version 1: Released January 13, 2016

Changelog:
First release

##Creating a Culture of Innovation

@TheMapSmith
TheMapSmith / urllist-20151217.md
Created December 17, 2015 13:13
URL list from Thursday, Dec. 17 2015 8:13 AM

Doug Greenfield on Twitter: "Great holiday gift-the Atlas of Design @NACIS_Atlas Some highlights https://t.co/laEBX1Phtw #MapofTheWeek https://t.co/GN2mpO9l21" https://twitter.com/MapOfTheWeek/status/677131050347339776

Mary Pilon on Twitter: "18-yr-old said she was attacked at knifepoint, then she lied. That’s where chilling @ProPublica story begins. https://t.co/IwxkFUBF1U" https://twitter.com/marypilon/status/677131930941394944

Amanda Cox on Twitter: "Happy Fed day. https://t.co/GlILmTcZnI https://t.co/AVtsBEoWoQ" https://twitter.com/amandacox/status/677094538670948352

One. Perfect. Shot. on Twitter: "[MUST WATCH] Best. Cameraman. Ever. https://t.co/vsBDMAcRHP This is amazing... https://t.co/ReeFWvIvh4"

Enter file contents herehttps://q3.webtechwireless.com/sizzles/com.webtechwireless.quadrant.Quadrant/Quadrant.jsp?initTimeRange=last2Hours&initTimeZone=US/Eastern&initSubApp=MappingNavMenuItem&initFID=40&ticket=490350DB08D50668C8582AAA425F1992&locale=en_US
@TheMapSmith
TheMapSmith / index.html
Last active August 27, 2018 11:11
esri-icon visualization
<link rel="stylesheet" href="http://js.arcgis.com/3.14/esri/css/esri.css">
<h2>
<span class="esri-icon-close ></span>
<span class="esri-icon-drag-horizontal ></span>
<span class="esri-icon-drag-vertical ></span>
<span class="esri-icon-handle-horizontal ></span>
<span class="esri-icon-handle-vertical ></span>
<span class="esri-icon-check-mark ></span>
<span class="esri-icon-left-triangle-arrow ></span>
<span class="esri-icon-right-triangle-arrow ></span>
require([
"esri/map", "esri/dijit/Search", "esri/layers/FeatureLayer", "esri/InfoTemplate", "dojo/domReady!"
], function (Map, Search, FeatureLayer, InfoTemplate) {
var map = new Map("map", {
basemap: "gray",
center: [-72.5842345,44.260972], // lon, lat
zoom: 6,
});
var s = new Search({