diff --git a/docs/examples/extending/extending-2-layers.md b/docs/examples/extending/extending-2-layers.md
index fb063908..d7468793 100644
--- a/docs/examples/extending/extending-2-layers.md
+++ b/docs/examples/extending/extending-2-layers.md
@@ -20,10 +20,10 @@ Let's illustrate with a custom `L.TileLayer` that will display random kitten ima
L.TileLayer.Kitten = L.TileLayer.extend({
getTileUrl: function(coords) {
var i = Math.ceil( Math.random() * 4 );
- return "http://placekitten.com/256/256?image=" + i;
+ return "https://placekitten.com/256/256?image=" + i;
},
getAttribution: function() {
- return "PlaceKitten"
+ return "PlaceKitten"
}
});
@@ -46,10 +46,10 @@ For the KittenLayer, you should create a file like `L.KittenLayer.js` with:
L.TileLayer.Kitten = L.TileLayer.extend({
getTileUrl: function(coords) {
var i = Math.ceil( Math.random() * 4 );
- return "http://placekitten.com/256/256?image=" + i;
+ return "https://placekitten.com/256/256?image=" + i;
},
getAttribution: function() {
- return "PlaceKitten"
+ return "PlaceKitten"
}
});
diff --git a/docs/examples/extending/kittenlayer.md b/docs/examples/extending/kittenlayer.md
index 05838009..b28e169f 100644
--- a/docs/examples/extending/kittenlayer.md
+++ b/docs/examples/extending/kittenlayer.md
@@ -13,10 +13,10 @@ title: KittenLayer
L.TileLayer.Kitten = L.TileLayer.extend({
getTileUrl: function(coords) {
var i = Math.ceil( Math.random() * 4 );
- return "http://placekitten.com/256/256?image=" + i;
+ return "https://placekitten.com/256/256?image=" + i;
},
getAttribution: function() {
- return "PlaceKitten"
+ return "PlaceKitten"
}
});