Skip to content

Instantly share code, notes, and snippets.

View feixia586's full-sized avatar

Fei feixia586

  • Carnegie Mellon University
View GitHub Profile
@feixia586
feixia586 / cartodb_and_mapbox.md
Created July 29, 2014 21:24 — forked from javisantana/cartodb_and_mapbox.md
mapbox.js + cartodb.js

using cartodb.js and mapbox.js

if you want to use all the features of cartodb (infowindows, legends, dynamic layers) with mapbox basemaps

http://bl.ocks.org/javisantana/7200781

if you want to use mapbox.js features and show a cartodb layer (without any cartodb feature)

@feixia586
feixia586 / 0_reuse_code.js
Created February 8, 2014 16:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console