LogoAm schwarz und weiß eingebaut
This commit is contained in:
@@ -943,7 +943,7 @@ const EPHEMERIDEN_CHART_CONSTELLATIONS = <?= $ephemerisConstellationLinesJson ?>
|
|||||||
const applyButton = document.getElementById('ephemeridenChartApply');
|
const applyButton = document.getElementById('ephemeridenChartApply');
|
||||||
|
|
||||||
const logoImage = new Image();
|
const logoImage = new Image();
|
||||||
logoImage.src = 'images/logoAM.png';
|
logoImage.src = 'images/logoAM_sw.png';
|
||||||
logoImage.onload = () => { if (!chartCard.hidden) { drawChart(); } };
|
logoImage.onload = () => { if (!chartCard.hidden) { drawChart(); } };
|
||||||
|
|
||||||
if (!toggleButton || !chartCard || !canvas || !pointSelect || !timeInput || !labelStepSelect || !labelRotationSelect || !applyButton || !Array.isArray(EPHEMERIDEN_CHART_ROWS) || EPHEMERIDEN_CHART_ROWS.length === 0) {
|
if (!toggleButton || !chartCard || !canvas || !pointSelect || !timeInput || !labelStepSelect || !labelRotationSelect || !applyButton || !Array.isArray(EPHEMERIDEN_CHART_ROWS) || EPHEMERIDEN_CHART_ROWS.length === 0) {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
name: "Astronomiemuseum",
|
name: "Astronomiemuseum",
|
||||||
lat: 50.377222,
|
lat: 50.377222,
|
||||||
lon: 11.189722,
|
lon: 11.189722,
|
||||||
icon: "../images/logoAM.png",
|
icon: "../images/logoAM_sw.png",
|
||||||
iconW: 67,
|
iconW: 67,
|
||||||
iconH: 45,
|
iconH: 45,
|
||||||
showLabel: false,
|
showLabel: false,
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
@@ -1761,7 +1761,7 @@ function generateEphemerisCanvas() {
|
|||||||
resolve({ cvs, year, month });
|
resolve({ cvs, year, month });
|
||||||
};
|
};
|
||||||
logo.onerror = () => resolve({ cvs, year, month }); // kein Logo → trotzdem fortfahren
|
logo.onerror = () => resolve({ cvs, year, month }); // kein Logo → trotzdem fortfahren
|
||||||
logo.src = 'images/logoAM.png';
|
logo.src = 'images/logoAM_sw.png';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -512,7 +512,7 @@ if (!empty($currentLocation) && is_array($currentLocation)) {
|
|||||||
const passInfoEl = document.getElementById('satpassPassInfo');
|
const passInfoEl = document.getElementById('satpassPassInfo');
|
||||||
const ctx = canvas.getContext('2d');
|
const ctx = canvas.getContext('2d');
|
||||||
const exportLogoImg = new Image();
|
const exportLogoImg = new Image();
|
||||||
exportLogoImg.src = 'images/logoAM.png';
|
exportLogoImg.src = 'images/logoAM_sw.png';
|
||||||
let invertSky = false;
|
let invertSky = false;
|
||||||
let exportOpaqueSky = false;
|
let exportOpaqueSky = false;
|
||||||
let lastReferenceTime = null;
|
let lastReferenceTime = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user