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 ed7d332 commit d4170b4Copy full SHA for d4170b4
js/tracker.js
@@ -109,7 +109,12 @@ var plot_options = {
109
var overlayAPRS = new google.maps.ImageMapType({
110
getTileUrl: function(coord, zoom) {
111
var n = Math.pow(2,zoom);
112
- return (coord.y<0 || coord.y>=n || zoom > 6) ? null : "http://habhub.org/tiles/aprs/tile_"+zoom+"_"+wrapTiles(coord.x,zoom)+"_"+coord.y+".png";
+ return (coord.y<0 || coord.y>=n || zoom > 6) ? null : "http://" +
113
+ ['a','b','c'][Math.abs(coord.x+coord.y)%3] +
114
+ ".tiles.tracker.habhub.org/aprs/tile_" +
115
+ zoom + "_" +
116
+ wrapTiles(coord.x,zoom) + "_" +
117
+ coord.y + ".png";
118
},
119
tileSize: new google.maps.Size(256,256)
120
});
0 commit comments