Update static_bubble_map.html

This commit is contained in:
Iñigo Medina 2018-04-17 20:57:42 +02:00 committed by GitHub
parent 7cbe86259e
commit be43a32eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,9 @@
margin: 0; margin: 0;
} }
</style> </style>
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" /> <link rel="stylesheet" href="https://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css" />
<!--[if lte IE 8]> <!--[if lte IE 8]>
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.ie.css" /> <link rel="stylesheet" href="https://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.ie.css" />
<![endif]--> <![endif]-->
<script type="sql/html" id="cartocss_template"> <script type="sql/html" id="cartocss_template">
Map { Map {
@ -57,7 +57,7 @@
<div id="map"></div> <div id="map"></div>
<!-- include cartodb.js library --> <!-- include cartodb.js library -->
<script src="http://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script> <script src="https://libs.cartocdn.com/cartodb.js/v3/cartodb.js"></script>
<script> <script>
function main() { function main() {
@ -67,7 +67,7 @@
zoom: 8 zoom: 8
}); });
var layer = L.tileLayer('http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',{ var layer = L.tileLayer('http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',{
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="http://cartodb.com/attributions">CartoDB</a>' attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="https://cartodb.com/attributions">CartoDB</a>'
}).addTo(map); }).addTo(map);
cartodb.createLayer(map, { cartodb.createLayer(map, {
@ -87,4 +87,4 @@
window.onload = main; window.onload = main;
</script> </script>
</body> </body>
</html> </html>