thanks for the answer
> Have you considered only allocating 90 degrees to each "page", so the
> whole map can span 360 degrees?
Yes, I've considered it. But, that's not the objective.
> Other than that, you need to arrange for .tileCheckRange() and
> .getWrapWidth() to be based on 4*360 degrees instead of 360.
>
I've made them, yes. In tileCheckRange() function i define the "page"
and check the range by doing:
var bounds=this.bounds[z];
if (tile.y<0 || tile.y >= bounds)
{
return false;
}
var page = Math.floor( tile.x/bounds)+1;
if (page>0 && page<=this.numberPages) {
tile.page=page;
}else {
if (tile.x<0 || tile.x>=bounds) {return false;}
}
in the getWrapWidth() i return Infinity (no wrap).
All the clicking events return the normalized LatLng, and i see
impossible to get other type of info like the "tile index".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---