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:
@@ -28,7 +28,7 @@ import plusRoundIcon from "./PlusRoundIcon.js";
|
||||
import { createAndSetDevices } from "../utils/createAndSetDevices.js";
|
||||
import { restoreMapSettings, checkOverlappingMarkers } from "../utils/mapUtils.js";
|
||||
import { fetchPoiData, fetchUserRights } from "../services/apiService.js";
|
||||
import { MAP_VERSION } from "../config/settings.js";
|
||||
import { APP_VERSION } from "../config/appVersion";
|
||||
import * as layers from "../config/layers.js";
|
||||
import { initializeMap } from "../utils/initializeMap.js";
|
||||
import { addItemsToMapContextMenu } from "./useMapContextMenu.js";
|
||||
@@ -818,7 +818,7 @@ await fetchGisStationsStatusDistrict(mapGisStationsStatusDistrictUrl, setGisStat
|
||||
<div>
|
||||
<span className="text-black text-lg font-semibold"> TALAS.Map </span>
|
||||
<br />
|
||||
<span className="text-black text-lg">Version {MAP_VERSION}</span>
|
||||
<span className="text-black text-lg">Version {APP_VERSION}</span>
|
||||
</div>
|
||||
<div>
|
||||
<button onClick={openVersionInfoModal}>
|
||||
@@ -827,7 +827,7 @@ await fetchGisStationsStatusDistrict(mapGisStationsStatusDistrictUrl, setGisStat
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<VersionInfoModal showVersionInfoModal={showVersionInfoModal} closeVersionInfoModal={closeVersionInfoModal} MAP_VERSION={MAP_VERSION} />
|
||||
<VersionInfoModal showVersionInfoModal={showVersionInfoModal} closeVersionInfoModal={closeVersionInfoModal} APP_VERSION={APP_VERSION} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// /config/settings.js
|
||||
// /config/appVersion
|
||||
// Definieren der grundlegenden Umgebungseinstellungen und Konfigurationen der Karte
|
||||
export const MAP_VERSION = "1.0.15.2";
|
||||
export const APP_VERSION = "1.0.15.4";
|
||||
//export const STANDARD_SIDE_MENU = true;
|
||||
//export const FULL_SIDE_MENU = false;
|
||||
Reference in New Issue
Block a user