I can make it work if I use the proj4js library to convert coordinates by doing the following:
var source = new Proj4js.Proj('EPSG:3857'); var dest = new Proj4js.Proj('EPSG:4326'); var p = new Proj4js.Point(-9096106.74,3679364.68);
But this is still not an ideal solution, as it imposes on me Megabyte to enable the library. I'm still looking for a flyer solution. Knowing that inside the sheet already uses EPSG: 3857 to extract tiles, it should not be so difficult.
Update
To do this exclusively in the Flyer, take a look at @ARsl's answer. The only reason I still accept this as my answer is because I still feel uncomfortable doing projection calculations (not that they were wrong), and it is for this reason that I do not accept this answer. Plus proj4js as additional benefits of supporting many other databases.
source share