Skip to content

Commit ba7b7d9

Browse files
fixed e76a582, latitude, not longitude...
1 parent 796fd8d commit ba7b7d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cache.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# version 268
2+
# version 270
33

44
# gogole maps files
55
http://maps.google.com/maps/api/js?v=3.10&sensor=false&language=en_us&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function updateVehicleInfo(index, newPosition) {
274274

275275
// update market z-index based on latitude, 90 being background and -90 foreground
276276
// the first 2 decimal digits are included for added accuracy
277-
var zIndex = 18000 - (9000 + parseInt(newPosition.gps_lon*100))
277+
var zIndex = 18000 - (9000 + parseInt(newPosition.gps_lat*100));
278278

279279
// update position
280280
if(vehicle.marker_shadow) {

0 commit comments

Comments
 (0)