From a09b8a43f6444eea2506dc8b3d04b8f5ea80a4df Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 09 Jun 2020 21:39:50 +0000 Subject: [PATCH] [map] Disallow non-integer zoom levels --- proxy_tram.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/proxy_tram.php b/proxy_tram.php index 7f3d8a0..40e04ee 100644 --- a/proxy_tram.php +++ b/proxy_tram.php @@ -1,3 +1,6 @@ <?php $base_proxy = 'http://www.ttss.krakow.pl/internetservice'; +if($_GET['positionType'] ?? NULL === 'RAW') { + $_GET['positionType'] = 'CORRECTED'; +} require('proxy_common.php'); -- Gitblit v1.9.1