Fix Passau tile coords: 1099->1100, 706->707
Computed precisely: zoom 11, lat 48.5667, lon 13.4319. x_norm = (lon+180)/360 = 0.5373, x_tile = 1100.41 -> floor 1100 y_norm = 0.3452, y_tile = 707.07 -> floor 707 Previously had 1099/706 which placed the centre one tile west and one tile south of Passau. User observed the tile content was 'vertauscht' — it was correct ESRI imagery of a different geographic location (near Schärding), not Passau itself.
This commit is contained in:
1 parent
5130fb14d1
commit
c059d56f34
1 file changed
+2
-2
Vendored
+2
-2
@@ -295,8 +295,8 @@ var GROUND_CORRIDOR_PERP = 5; // tiles perpendicular to travel
|
|||||||
var GROUND_BUFFER_LONG = 11; // refetch when this close to forward edge
|
var GROUND_BUFFER_LONG = 11; // refetch when this close to forward edge
|
||||||
var GROUND_BUFFER_PERP = 1; // refetch when this close to side edge
|
var GROUND_BUFFER_PERP = 1; // refetch when this close to side edge
|
||||||
// Passau tile at zoom 11
|
// Passau tile at zoom 11
|
||||||
var GROUND_BASE_X = 1099;
|
var GROUND_BASE_X = 1100;
|
||||||
var GROUND_BASE_Y = 706;
|
var GROUND_BASE_Y = 707;
|
||||||
|
|
||||||
// Module-level state, shared across renderer instances
|
// Module-level state, shared across renderer instances
|
||||||
var groundCanvas = null;
|
var groundCanvas = null;
|
||||||
|
|||||||
Reference in new issue
Block a user