On Jun 24, 3:03 am, Jim <[email protected]> wrote:
> On Jun 22, 10:22 pm, William <[email protected]> wrote:
>
> I tried this. The browser requests the right tiles but they're not
> displayed in the right place in the image.
here's what I think it should be, calculating a new variable x from
tile.x
getTileUrl:
function(tile, zoom) {
var n = 1 << zoom;
var x = tile.x % n;
if (x < 0) {
x += n;
}
...
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.