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 85af407 commit 4adc526Copy full SHA for 4adc526
js/tracker.js
@@ -3062,10 +3062,12 @@ function update(response) {
3062
offline.set('positions', ctx.lastPositions);
3063
3064
if (got_positions && !zoomed_in && Object.keys(vehicles).length) {
3065
- // Enable zooming when we only have a single payload filtered.
3066
- if(Object.keys(vehicles).length == 1){
+ // Enable zooming when we only have a single payload filtered.
+ if(wvar.query !== "") {
3067
zoom_on_payload();
3068
}
3069
+ // TODO: Zoom to geolocation position
3070
+
3071
3072
3073
if(periodical_predictions === null) refreshPredictions();
0 commit comments