add cartodb.js https library

This commit is contained in:
oriolbx 2018-11-12 16:51:16 +01:00
parent 8142d2622e
commit e2e4298b8a
5 changed files with 10 additions and 10 deletions

View File

@ -95,7 +95,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://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js"></script>
<script> <script>
function main() { function main() {
@ -118,7 +118,7 @@
user_name: "andrew", user_name: "andrew",
tile_style: $('#cartocss_template').html() tile_style: $('#cartocss_template').html()
} }
}).done(function(layer) { }, {https:true}).done(function(layer) {
map.addLayer(layer); map.addLayer(layer);
}); });
} }

View File

@ -60,7 +60,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://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js"></script>
<script> <script>
function main() { function main() {
@ -81,7 +81,7 @@
user_name: "andrew", user_name: "andrew",
tile_style: $('#cartocss_template').html() tile_style: $('#cartocss_template').html()
} }
}).done(function(layer) { }, {https:true}).done(function(layer) {
map.addLayer(layer); map.addLayer(layer);
}); });
} }

View File

@ -54,7 +54,7 @@
<div id="map"></div> <div id="map"></div>
<!-- include cartodb.js library --> <!-- include cartodb.js library -->
<script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/cartodb.js"></script> <script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js"></script>
<script> <script>
function main() { function main() {
@ -75,7 +75,7 @@
user_name: "andrew", user_name: "andrew",
tile_style: $('#cartocss_template').html() tile_style: $('#cartocss_template').html()
} }
}).done(function(layer) { }, {https: true}).done(function(layer) {
map.addLayer(layer); map.addLayer(layer);
}); });
} }

View File

@ -51,7 +51,7 @@
<div id="map"></div> <div id="map"></div>
<!-- include cartodb.js library --> <!-- include cartodb.js library -->
<script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/cartodb.js"></script> <script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js"></script>
<script> <script>
function main() { function main() {
@ -74,7 +74,7 @@
user_name: "andrew", user_name: "andrew",
tile_style: $('#cartocss_template').html() tile_style: $('#cartocss_template').html()
} }
}).done(function(layer) { }, {https: true}).done(function(layer) {
map.addLayer(layer); map.addLayer(layer);
}); });
} }

View File

@ -38,7 +38,7 @@
<div id="map"></div> <div id="map"></div>
<!-- include cartodb.js library --> <!-- include cartodb.js library -->
<script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/cartodb.js"></script> <script src="https://cartodb-libs.global.ssl.fastly.net/cartodb.js/v3/3.15/cartodb.js"></script>
<script> <script>
function main() { function main() {
@ -61,7 +61,7 @@
user_name: "andrew", user_name: "andrew",
tile_style: $('#cartocss_template').html() tile_style: $('#cartocss_template').html()
} }
}).done(function(layer) { }, {https:true}).done(function(layer) {
map.addLayer(layer); map.addLayer(layer);
}); });
} }