diff --git a/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss b/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss index 22f94a0..36d1f40 100644 --- a/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss +++ b/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss @@ -6,6 +6,8 @@ background-color: #cecfcc; text-align: center; position: relative; + height: 600px; + width: auto; } /* #sites-map-container .circle { fill: black; @@ -28,7 +30,7 @@ display: none; position: absolute; left: 50%; - top: 50%; + top: -20%; transform: translate(-50%, -50%); z-index: 1000; text-align: left; 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 9f8fc66..20ec4aa 100644 --- a/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php +++ b/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php @@ -28,8 +28,8 @@ class SitesMap extends BlockBase { $sites_paths = ""; - $vp_w = 400; - $vp_h = 400; + $vp_w = 600; + $vp_h = 600; // Coordonnées géographiques des coins de la carte (France) $latTop = 52.0; // Nord-Ouest (coin supérieur gauche) diff --git a/web/modules/custom/q2d_mod/templates/svg-mapsites.html.twig b/web/modules/custom/q2d_mod/templates/svg-mapsites.html.twig index 9985a2c..1b95fce 100644 --- a/web/modules/custom/q2d_mod/templates/svg-mapsites.html.twig +++ b/web/modules/custom/q2d_mod/templates/svg-mapsites.html.twig @@ -5,7 +5,7 @@