From 3287f67f90b439075714e21449c7128f79f6aec1 Mon Sep 17 00:00:00 2001 From: ouidade Date: Thu, 31 Oct 2024 00:05:37 +0100 Subject: [PATCH] size point carte --- web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php | 6 +++--- .../quartiers_de_demain/dist/assets/css/bundle.css | 4 +++- .../src/assets/scss/pages/node-type-site.scss | 9 ++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php b/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php index 203572d..97bf162 100644 --- a/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php +++ b/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php @@ -56,9 +56,9 @@ class SitesMap extends BlockBase { $x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w); $y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h); - $r = 10; - $m = -$r+4; - $l = $r*2-7; + $r = 15; + $m = -$r/1.5+3; + $l = $r/1.5 +4; $sites_paths .= <<