Skip to content

Commit 2523f91

Browse files
fixed and (&&) in or (II) in if lat != latPrev
1 parent 0858c49 commit 2523f91

File tree

1 file changed

+1
-1
lines changed
  • Source/RunActivity/Viewer3D/WebServices/Web/Map

1 file changed

+1
-1
lines changed

Source/RunActivity/Viewer3D/WebServices/Web/Map/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function ApiMap() {
5555
MapInit(latLong);
5656
}
5757

58-
if ((latLong[0] != latLongPrev[0]) && (latLong[1] != latLongPrev[1])) {
58+
if ((latLong[0] != latLongPrev[0]) || (latLong[1] != latLongPrev[1])) {
5959
if (typeof locomotivMarker !== 'undefined') {
6060
locomotivMarker.removeFrom(map);
6161
}

0 commit comments

Comments
 (0)