-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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';
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels