Skip to content

Commit 268793e

Browse files
increased aprs overlay max zoom to 6
1 parent 1b9ebb7 commit 268793e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var plot_options = {
9494
var overlayAPRS = new google.maps.ImageMapType({
9595
getTileUrl: function(coord, zoom) {
9696
var n = Math.pow(2,zoom);
97-
return (coord.y<0 || coord.y>=n || zoom > 5) ? null : "tiles/aprs/tile_"+zoom+"_"+wrapTiles(coord.x,zoom)+"_"+coord.y+".png";
97+
return (coord.y<0 || coord.y>=n || zoom > 6) ? null : "tiles/aprs/tile_"+zoom+"_"+wrapTiles(coord.x,zoom)+"_"+coord.y+".png";
9898
},
9999
tileSize: new google.maps.Size(256,256)
100100
});

0 commit comments

Comments
 (0)