Yes, thanks for your idea. I already converted the coordinates, so I
think that's not the problem. Isn't anywhere any algorithm to
calculate what I want? Thanks.
On 29 oct, 21:45, William <[EMAIL PROTECTED]> wrote:
> On Oct 30, 4:38 am, Alejo83 <[EMAIL PROTECTED]> wrote:
>
> > // Find the optimal Width Zoom
>
> > int wZoom = 0;
> > double w = Math.abs( maxLong - minLong );
> > for (int i = 1; i < 16; i++ ) {
> > if ( width > w ) break;
> > width *= 2;
> > wZoom = i;
>
> Google Map Tiles use a Mercator coordinate system. You need to
> project your bounding coordinates from the spherical latitude/
> longitude into the planar Mercator before calculating the zoom.
>
> Seehttp://mapki.com/wiki/Lat/Lon_To_Tile
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---