I have the following task.
This is my sample data.
WGS84 datum (longitude/latitude): -123.75 36.59788913307022 -118.125 40.97989806962013 Spherical Mercator (meters): -13775786.985667605 4383204.9499851465 -13149614.849955441 5009377.085697312 Pixels 2560 6144 2816 6400 Google x:10, y:24, z:6 TMS x:10, y:39, z:6 QuadTree 023010
I'm using the code from this source
http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/.
How should I chain the methods in order to get from google tiles (x:10, y:24, z:6) the Sperical Mercator meters
-13775786.985667605 4383204.9499851465 -13149614.849955441 5009377.085697312?
I have used lots of combinations but I'm getting wrong numbers.