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 0c94aff commit 60c7659Copy full SHA for 60c7659
js/model/Position.js
@@ -3,7 +3,7 @@
3
export const MAP_HEIGHT_MAX_ZOOM_PX = 364544;
4
export const MAP_WIDTH_MAX_ZOOM_PX = 104448;
5
export const RS_TILE_WIDTH_PX = 32, RS_TILE_HEIGHT_PX = 32; // Width and height in px of an rs tile at max zoom level
6
-export const RS_OFFSET_X = 1024; // Amount to offset x coordinate to get correct value
+export const RS_OFFSET_X = 1024 - 64; // Amount to offset x coordinate to get correct value
7
export const RS_OFFSET_Y = 6208; // Amount to offset y coordinate to get correct value
8
9
export class Position {
@@ -66,4 +66,4 @@ export class Position {
66
toString() {
67
return `(${this.x}, ${this.y}, ${this.z})`;
68
}
69
-};
+};
0 commit comments