You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using index.html i am unable to see the negative half of the map.
I was able to work around this issue by essentially shifting the map and adjusting the coordinates.
To do this, i adjusted three lines. adding a value of '128' to all of them.
offset new markers position: new google.maps.LatLng(y / 512, (x / 512) + 128),
offset the starting position center: new google.maps.LatLng(0, 128),,
offset the image to load return 'overworld (dimension 0)/images/z' + z + '/' + ((coord.x-(128*z))) + ',' + coord.y + '.png';
The text was updated successfully, but these errors were encountered:
using index.html i am unable to see the negative half of the map.
I was able to work around this issue by essentially shifting the map and adjusting the coordinates.
To do this, i adjusted three lines. adding a value of '128' to all of them.
offset new markers
position: new google.maps.LatLng(y / 512, (x / 512) + 128),
offset the starting position
center: new google.maps.LatLng(0, 128),,
offset the image to load
return 'overworld (dimension 0)/images/z' + z + '/' + ((coord.x-(128*z))) + ',' + coord.y + '.png';
The text was updated successfully, but these errors were encountered: