supp inter
This commit is contained in:
@@ -356,12 +356,7 @@ function initDetailMap() {
|
|||||||
routeColor = "#f97316"; // Orange
|
routeColor = "#f97316"; // Orange
|
||||||
routeWeight = 3;
|
routeWeight = 3;
|
||||||
routeDash = "10, 10";
|
routeDash = "10, 10";
|
||||||
} else if (i > 0) {
|
|
||||||
// SEGMENTS INTERMÉDIAIRES
|
|
||||||
routeColor = "#8b5cf6"; // Violet
|
|
||||||
routeWeight = 5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dessin du trait
|
// Dessin du trait
|
||||||
if (res.data && res.data.code === "Ok" && res.data.routes.length > 0) {
|
if (res.data && res.data.code === "Ok" && res.data.routes.length > 0) {
|
||||||
const routeCoords = res.data.routes[0].geometry.coordinates.map(
|
const routeCoords = res.data.routes[0].geometry.coordinates.map(
|
||||||
|
|||||||
@@ -127,7 +127,6 @@ $pctSaved = $cost > 0 ? min(100 - $pctPaid, ($saved / $cost) * 100) : 0;
|
|||||||
<h3 style="margin:0;">🗺️ Itinéraire</h3>
|
<h3 style="margin:0;">🗺️ Itinéraire</h3>
|
||||||
<div class="hol-map-legend">
|
<div class="hol-map-legend">
|
||||||
<span class="hol-legend-item" title="Trajet aller"><span class="hol-legend-color aller"></span> Aller</span>
|
<span class="hol-legend-item" title="Trajet aller"><span class="hol-legend-color aller"></span> Aller</span>
|
||||||
<span class="hol-legend-item" title="Étapes intermédiaires"><span class="hol-legend-color interm"></span> Interm.</span>
|
|
||||||
<span class="hol-legend-item" title="Trajet retour"><span class="hol-legend-color retour"></span> Retour</span>
|
<span class="hol-legend-item" title="Trajet retour"><span class="hol-legend-color retour"></span> Retour</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user