We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2220414 commit 7dab270Copy full SHA for 7dab270
Source/RunActivity/Viewer3D/WebServices/Web/Map/index.js
@@ -48,7 +48,7 @@ function ApiMap() {
48
if (responseText.length > 0) {
49
latLon = responseText.split(" ");
50
if (typeof locomotivMarker !== 'undefined') {
51
- if ((latLon[0] != latLonPrev[0]) && (latLon[1] != latLonPrev[1])) {
+ if ((latLon[0] != latLonPrev[0]) || (latLon[1] != latLonPrev[1])) {
52
map.panTo(latLon);
53
}
54
} else {
0 commit comments