Fix Arrastre Mapa en Zoom

This commit is contained in:
2025-09-22 09:08:43 -03:00
parent 3750d1a56d
commit 5a8bee52d5
3 changed files with 29 additions and 66 deletions

View File

@@ -296,7 +296,7 @@
}
/* --- MAPA Y ELEMENTOS ASOCIADOS (sin cambios) --- */
/* --- MAPA Y ELEMENTOS ASOCIADOS --- */
.mapa-componente-container {
width: 100%;
height: 100%;
@@ -329,6 +329,11 @@
transition: transform 0.75s ease-in-out;
}
/* AÑADIDO: Desactivar la transición durante el arrastre */
.rsm-zoomable-group.panning {
transition: none;
}
.panel-main-content.panel-collapsed .mapa-column {
flex: 1 1 100%;
}
@@ -368,7 +373,6 @@
}
.rsm-geography {
cursor: pointer;
stroke: #000000;
stroke-width: 0.25px;
outline: none;
@@ -579,18 +583,14 @@
/* --- ESTILOS DE CURSOR PARA EL ARRASTRE DEL MAPA --- */
.map-locked .rsm-geography {
cursor: pointer;
/* Cursor normal de clic */
}
.map-pannable .rsm-geography {
cursor: grab;
/* Indica que el mapa se puede arrastrar */
}
.map-pannable .rsm-geography:active {
cursor: grabbing;
/* Indica que se está arrastrando */
}
/* El cursor 'grabbing' se aplica automáticamente por el navegador durante el arrastre */
/* --- MEDIA QUERY PARA RESPONSIVE (ENFOQUE FINAL CON CAPAS) --- */
@media (max-width: 800px) {