From 400c082d33d2600d2e5567801290966fd068ef61 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 27 Jan 2013 20:38:48 +0100 Subject: [PATCH] don't clear the map when clearing the track --- js/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/map.js b/js/map.js index 7cdf79f..ec60e01 100644 --- a/js/map.js +++ b/js/map.js @@ -637,7 +637,7 @@ function endTracking() { function clearTrack() { gTrack = []; gTrackStore.clear(); - drawMap(); + drawMap({left: 0, right: 0, top: 0, bottom: 0}); } var gTileService = { -- 2.43.0