Compare all upper case

This commit is contained in:
phl0
2026-01-24 15:55:38 +01:00
parent 4199e87722
commit 75b50a2b9f

View File

@@ -1245,7 +1245,7 @@ function newpath(latlng1, latlng2, locator1, locator2) {
},
}).setView([30, 0], 1.5);
if (locator1 != locator2) {
if (locator1.toUpperCase() != locator2.toUpperCase()) {
// Need to fix so that marker is placed at same place as end of line, but this only needs to be done when longitude is < -170
if (latlng2[1] < -170) {