Skip to content

Instantly share code, notes, and snippets.

@michellechandra
Created December 21, 2015 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michellechandra/c0b0d5825b6adf7930b3 to your computer and use it in GitHub Desktop.
Save michellechandra/c0b0d5825b6adf7930b3 to your computer and use it in GitHub Desktop.
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 {
height: 100%;
padding: 0;
margin: 0;
}
.cartodb-popup-content-wrapper {
height: 375px;
}
.cartodb-popup-content {
height: 375px;
}
#infowindow_template {
width: 550px;
}
div.cartodb-popup.v2 {
width: 550px !important;
height: 375px;
}
#panorama {
width: 100%;
height: 350px;
}
</style>
</head>
<body>
<div id="map"></div>
<!-- include google maps library -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=APIKEY"></script>
<!-- include cartodb.js library -->
<script src="http://libs.cartodb.com/cartodb.js/v3/3.15/cartodb.js"></script>
<script>
function main() {
}
window.onload = main;
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment