Skip to content

Instantly share code, notes, and snippets.

@michellechandra
michellechandra / index.html
Created January 8, 2016 19:25
Video Infowindow - Large
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="http://libs.cartodb.com/cartodb.js/v3/3.15/themes/css/cartodb.css" />
<style>
html, body, #map {
height: 100%;
padding: 0;
@michellechandra
michellechandra / index.html
Created January 7, 2016 19:43
Custom Legend - Create Vis
<!DOCTYPE html>
<html>
<head>
<title>Custom Legend Example</title>
<link rel="stylesheet" href="http://libs.cartodb.com/cartodb.js/v3/3.15/themes/css/cartodb.css" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<style>
html, body, #map {
height: 100%;
@michellechandra
michellechandra / index.html
Created January 6, 2016 17:49
Custom Torque Time Slider
<!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 {
height: 100%;
@michellechandra
michellechandra / index.html
Created December 21, 2015 17:02
Street View Template
<!DOCTYPE html>
<html>
<head>
<title>Google Street View</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" />
<link rel="stylesheet" href="http://libs.cartodb.com/cartodb.js/v3/3.15/themes/css/cartodb.css" />
<style>
html, body, #map {
@michellechandra
michellechandra / index.html
Last active December 17, 2015 16:35
CreateVis Map with YouTube Infowindow Embed
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="http://libs.cartodb.com/cartodb.js/v3/3.15/themes/css/cartodb.css" />
<style>
html, body, #map {
height: 100%;
padding: 0;
@michellechandra
michellechandra / index.html
Created December 11, 2015 22:17
No Torque Time Slider - Example Code
<!DOCTYPE html>
<html>
<head>
<title>No Torque Time Slider</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%;
@michellechandra
michellechandra / index.html
Last active October 29, 2015 16:06
CartoDB.js and Leaflet Image Overlay
<!DOCTYPE html>
<html>
<head>
<title>Image Overlay with Leaflet</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" />
<link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/themes/css/cartodb.css" />
<style>
@michellechandra
michellechandra / index.html
Last active October 16, 2015 21:53
CartoDB Unsanitized Infowindow using CreateVis
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<style>
html, body, #map {
height: 100%;
padding: 0;
@michellechandra
michellechandra / index.html
Last active October 16, 2015 21:51
CartoDB CreateVis Zoom Options
<!DOCTYPE html>
<html>
<head>
<title>CreateVis Zoom 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%;
@michellechandra
michellechandra / index.html
Last active October 16, 2015 21:50
CartoDB CreateVis Disable Double Click Zoom
<!DOCTYPE html>
<html>
<head>
<title>CreateVis Zoom 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%;