Created
October 2, 2017 10:59
-
-
Save alrocar/0c26fc480f77c2cd38c64bcb9bbaa419 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/3.15/themes/css/cartodb.css" /> | |
<!-- <link rel="stylesheet" href="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/themes/css/cartodb.css" /> --> | |
<style type="text/css"> | |
html, | |
body, | |
#map { | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
margin: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="map"></div> | |
<!-- include cartodb.js library --> | |
<script src="http://libs.cartocdn.com/cartodb.js/v3/3.15/cartodb.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
cartodb.createVis('map', 'http://ree.carto.com/user/ree-admin/api/v2/viz/cc74d433-e026-4f51-b057-e3d7edc23d13/viz.json', | |
{ no_cdn: true, | |
cartodb_logo: false, | |
zoom: 5, | |
center_lat: 39, | |
center_lon: -4, | |
legends: true, | |
infowindow:true | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment