diff --git a/docs/changelog.md b/docs/changelog.md index 95e0d1a8..90faa0fd 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -68,6 +68,9 @@ COMMIT; - fixed labelKey not being saved (#595) - filtering in data browser now is also reflected in the displayed features (#550) +- fixed ClusterMarker text color on Chrome (#547) +- allow to clone also markers +- only list https ready tilerlayers when page is in https (#567) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 5fe1c986..132ef76e 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -769,6 +769,7 @@ L.U.TileLayerControl = L.Control.extend({ buildList: function (options) { this.map.eachTileLayer(function (tilelayer) { + if (window.location.protocol === 'https:' && tilelayer.options.url_template.indexOf('http:') === 0) return; this.addTileLayerElement(tilelayer, options); }, this); this.map.ui.openPanel({data: {html: this._tilelayers_container}, className: options.className});