From c96aca2bf49dee27945576718703a9230c9f0aea Mon Sep 17 00:00:00 2001 From: leosw Date: Tue, 20 Jan 2026 20:22:02 +0100 Subject: [PATCH] =?UTF-8?q?Points=20cach=C3=A9s=20affich=C3=A9s=20aux=20pr?= =?UTF-8?q?emiums=20sur=20la=20carte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/d.poi.php | 2 +- views/js/d.map.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/controllers/d.poi.php b/controllers/d.poi.php index 8a63783..f9addc9 100755 --- a/controllers/d.poi.php +++ b/controllers/d.poi.php @@ -105,7 +105,7 @@ switch ($controller->splitted_url[1]) { header("Content-Type: application/json; charset=utf-8"); $pois = new Kabano\Pois(); - $pois->listPois(); + $pois->listPois($user->rankIsHigher("premium") ? 1 : 0); $out = []; diff --git a/views/js/d.map.js b/views/js/d.map.js index 9cae4f2..30a0864 100755 --- a/views/js/d.map.js +++ b/views/js/d.map.js @@ -68,7 +68,6 @@ $( document ).ready(function() { var size = 32; if (z < 8) size = 20; - if (z < 6) size = 16; if (z < 4) size = 12; markers.forEach(function(marker) {