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 ba7b7d9 commit 5f7f9a1Copy full SHA for 5f7f9a1
cache.manifest
@@ -1,5 +1,5 @@
1
CACHE MANIFEST
2
-# version 270
+# version 281
3
4
# gogole maps files
5
http://maps.google.com/maps/api/js?v=3.10&sensor=false&language=en_us&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg
js/tracker.js
@@ -1244,7 +1244,7 @@ function zoom_on_payload() {
1244
// find the bounds of the ballons first and last positions
1245
var bounds = new google.maps.LatLngBounds();
1246
bounds.extend(vehicles[i].positions[0]);
1247
- bounds.extend(vehicles[i].marker.getPosition());
+ bounds.extend(vehicles[i].positions[vehicles[i].positions.length - 1]);
1248
1249
// fit the map to those bounds
1250
map.fitBounds(bounds);
0 commit comments