From 7200f9b7fed82626f8bfea9a9477001229418d24 Mon Sep 17 00:00:00 2001 From: Ivan Malagon Date: Mon, 3 Dec 2018 16:14:42 +0100 Subject: [PATCH] Add port to examples --- examples/data_peek.html | 7 +++++-- examples/dual_encode.html | 3 ++- examples/leaflet_interaction.html | 10 ++++++---- examples/light_bright.html | 3 ++- examples/navy_gmaps.html | 3 ++- examples/navy_leaflet.html | 5 +++-- examples/navy_ol.html | 5 +++-- examples/render-range_leaflet.html | 4 +++- examples/static_bubble_map.html | 3 ++- examples/static_heat_map.html | 3 ++- examples/static_heat_map_simple.html | 3 ++- 11 files changed, 32 insertions(+), 17 deletions(-) diff --git a/examples/data_peek.html b/examples/data_peek.html index 15f4309..d0ccbb8 100644 --- a/examples/data_peek.html +++ b/examples/data_peek.html @@ -37,7 +37,7 @@ zoom: 3 }); - L.tileLayer('https://{s}.api.cartocdn.com/base-dark/{z}/{x}/{y}.png', { + L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png', { attribution: 'CartoDB' }).addTo(map); @@ -45,10 +45,13 @@ user : 'fdansv', table : 'snow', cartocss: CARTOCSS, - tiler_protocol: 'https' + tiler_protocol: 'https', + tiler_port: 443, + zIndex: 10 }); torqueLayer.addTo(map); torqueLayer.play(); + torqueLayer.bringToFront(); var rect = document.createElement("div"); var size = 50; rect.setAttribute('style', "position:absolute; background-color: #fff; width: 100px; height: 30px;"); diff --git a/examples/dual_encode.html b/examples/dual_encode.html index 163b6fc..0b1d5d5 100644 --- a/examples/dual_encode.html +++ b/examples/dual_encode.html @@ -120,7 +120,8 @@ } }, { https: true, - tiler_protocol: 'https' + tiler_protocol: 'https', + tiler_port: 443 }).done(function(layer) { map.addLayer(layer); }); diff --git a/examples/leaflet_interaction.html b/examples/leaflet_interaction.html index 91137f6..6458865 100644 --- a/examples/leaflet_interaction.html +++ b/examples/leaflet_interaction.html @@ -20,7 +20,7 @@ - +