From: Robert Kaiser Date: Sun, 27 Jan 2013 19:38:48 +0000 (+0100) Subject: don't clear the map when clearing the track X-Git-Tag: legacy-preGL~32 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=400c082d33d2600d2e5567801290966fd068ef61;p=lantea.git don't clear the map when clearing the track --- 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 = {