From 8859f1be13e05f8268b58e11589c7157724d11d5 Mon Sep 17 00:00:00 2001 From: b_b Date: Fri, 18 Mar 2022 19:44:45 +0100 Subject: [PATCH] prise en charge http/https dans tileUrlToFilename() --- inc/staticmap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/staticmap.php b/inc/staticmap.php index 2cae559..4ef1479 100644 --- a/inc/staticmap.php +++ b/inc/staticmap.php @@ -322,7 +322,7 @@ class staticMapGis public function tileUrlToFilename($url) { - return $this->tileCacheBaseDir . '/' . str_replace(['http://'], '', $url); + return $this->tileCacheBaseDir . '/' . str_replace(['http://','https://'], '', $url); } public function checkTileCache($url) {