Ok! I thought it were more complicated than that... It seems to work
perfectly. Trigonometry is too old for me... I have to re-work on it.

Thx a lot!

Cheers, François T.

-------------------------------

On 1 juil, 19:09, Rossko <[email protected]> wrote:
> > ... I suppose "lat" is the latitude of the center
> > point.
>
> "lat" is the latitude of wherever it is you are trying to calculate
> pixels-per-whatever.  Bear in mind it'll only be truly valid at that
> place, not all over the map, but unless you are looking at large
> chunks of the globe, it will do.
>
> > But I don't know what is 40075017 ...
>
> Circumferance of the earth in meters, you don't need that.
>
> > and how can I change this
> > formula to get degree per pixel in north/south axe...
>
> The text explains that the interesting part for you, which is a factor
> converting pixels-per-degree form the easy north-south version to the
> harder east-west, is accomplished by cos(lat)
>
> Pixels per degree-EW = cos(lat) * pixels per degree-NS ??
>
> Not a maps API question, basic trigonometry.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to