APP_VERSION = "1.0.15.4"

fix: Dynamisches Ein- und Ausblenden des Plus-Icons bei Änderung der Marker-Sichtbarkeit

- Überarbeitung der `checkOverlappingMarkers`-Funktion, um sichtbare Marker korrekt zu verfolgen.
- Hinzugefügt: Dynamische Aktualisierung des Plus-Icons basierend auf Layer-Sichtbarkeit.
- Integration der Checkbox-Änderungen in den `useEffect`-Hook von `MapComponent`, um Echtzeit-Aktualisierungen zu gewährleisten.
- Verbesserte Konsistenz der Kartenanzeige ohne Neuladen des Browsers.
This commit is contained in:
ISA
2024-12-12 21:17:20 +01:00
parent 872d8941f5
commit c0031f5ea6
3 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
// components/VersionInfoModal.js
import React from "react";
const VersionInfoModal = ({ showVersionInfoModal, closeVersionInfoModal, MAP_VERSION }) => {
const VersionInfoModal = ({ showVersionInfoModal, closeVersionInfoModal, APP_VERSION }) => {
return (
<>
{showVersionInfoModal && (
@@ -16,7 +16,7 @@ const VersionInfoModal = ({ showVersionInfoModal, closeVersionInfoModal, MAP_VER
<h5 className="text-md mb-2 text-start leading-snug">T: +49 4402 9725 77-0</h5>
<h5 className="text-md mb-2 text-start leading-snug">E: kontakt@littwin-systemtechnik.de</h5>
</div>
<p className="text-gray-700 text-center font-bold mt-4 leading-relaxed">TALAS.Map Version {MAP_VERSION}</p>
<p className="text-gray-700 text-center font-bold mt-4 leading-relaxed">TALAS.Map Version {APP_VERSION}</p>
<button onClick={closeVersionInfoModal} className="mt-4 bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-700 mx-auto block">
Schließen
</button>