Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CartoDB Point Clustering</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
<!--[if lte IE 8]>
@javierarce
javierarce / gist:8802684
Last active August 29, 2015 13:56
timeslider width fix
<!DOCTYPE html>
<html>
<head>
<title>Easy example | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
@javierarce
javierarce / index.html
Last active August 29, 2015 13:56 — forked from strk/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--Edit the title of the page-->
<title>CartoDB Point Clustering</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
### Keybase proof
I hereby claim:
* I am javierarce on github.
* I am javier (https://keybase.io/javier) on keybase.
* I have a public key whose fingerprint is D9CB 54E8 CB5E 559A 1CF6 6959 587C 93C6 8AC7 0E4D
To claim this, I am signing this object:
@javierarce
javierarce / template.html
Last active August 29, 2015 14:01
watchthemmove.tumblr.com theme
<!DOCTYPE html>
<html lang="en">
<head>
<title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle} - {Description}</title>
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
<meta name="viewport" content="width=775, maximum-scale=1.0" />
<link rel="icon" href="{Favicon}"/>
<link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}"/>
<style>
@import url(http://fonts.googleapis.com/css?family=Asap:200,400,700,400italic,700italic);
@javierarce
javierarce / gist:297f837db0f91c43564a
Created July 25, 2014 20:29
Retrieve the locations from Kickstarter
var locations = [];
$(".location").each(function(i, l) {
locations.push($.trim($(l).text()))
});
echo locations;
@javierarce
javierarce / index.html
Created October 30, 2014 10:09
Map with image overlay
<!DOCTYPE html>
<html>
<head>
<title>Leaflet example | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
@javierarce
javierarce / index.html
Last active August 29, 2015 14:08
Map with image overlay
<!DOCTYPE html>
<html>
<head>
<title>Map with image overlay | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
<!DOCTYPE html>
<html>
<head>
<title>Layer selector example | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
<!DOCTYPE html>
<html>
<head>
<title>Layer selector example | CartoDB.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;