Man, it would be great if people would post their code solution, and not
just say thanks:
_getWmsTileBoundingBox(tileCoordinates, gmap) {
let tileSize = 256;
// first convert tile coordinates to pixel coordinates for NW and
SE corners of tile
let nwPixelX = tileCoordin
Here are the formulae you'll need.
https://groups.google.com/group/Google-Maps-API/browse_thread/thread/348098f70725fc96/7a0aba451045ed94?lnk=gst&q=author%3Ajgeerdes#7a0aba451045ed94
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA
For more information or a project quote:
jrgeer...@gmail.com
Hi,
I've got the exact same problem you were having, would you be able to post
the code you used to solve this?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.
Thanks Martin, thats just what I was looking for.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to
google
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#WorldCoordinates
Check out the World Coordinates and Pixel Coordinates sections.
pixelCoordinate = worldCoordinate * (2 to the power of zoomLevel)
So you want to convert your tile coordinates into two pixel
coordinates, pixe
I'll clarify the question.
I need to convert tile coords plus zoom into lat/lng.
I can easily convert tile coords plus zoom into and world coordinates
as the maths is simple.
However what is not trivial is the conversion between world
coordinates and lat/lng.
Does google maps include a function to
er, not sure how this helps.
Are you saying it cant be done?
Or is my question not clear?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscrib
The projection conversion methods of API are based on World
Coordinates. Those are pixel coordinates in 256 x 256 space (Zoom
level 0). Coordinates are floating point numbers.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To p