Skip to content

Instantly share code, notes, and snippets.

Michelle Chandra michellechandra

Block or report user

Report or block michellechandra

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@michellechandra
michellechandra / index.html
Created Jun 17, 2016
CartoDB Infowindow Phone Link Example
View index.html
<!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
Last active Feb 5, 2016
Infowindow with sublayer
View index.html
<!DOCTYPE html>
<html>
<head>
<title>createLayer_sublayer + infowindow</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<!-- include cartodb css -->
<link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/themes/css/cartodb.css" />
<!-- include cartodb.js library -->
<script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js"></script>
@michellechandra
michellechandra / index.html
Last active Feb 5, 2016
Infowindow with data from different datasets
View index.html
<!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; margin: 0 }</style>
</head>
<body>
<div id="map"></div>
<!-- include cartodb css -->
@michellechandra
michellechandra / index.html
Last active Feb 5, 2016
Infowindow with - createLayer
View index.html
<!DOCTYPE html>
<html>
<head>
<title>createLayer + infowindow</title>
<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
Created Jan 15, 2016
Choropleth Legend Example
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Custom legend with template | 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 Jan 14, 2016
Basemap Example - CartoDB
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Basemap Example</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
Created Jan 8, 2016
Video Infowindow - Large
View index.html
<!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 Jan 7, 2016
Custom Legend - Create Vis
View index.html
<!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 Jan 6, 2016
Custom Torque Time Slider
View index.html
<!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 Dec 21, 2015
Street View Template
View index.html
<!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 {
You can’t perform that action at this time.