yes, i'm not loading the API. :) have i to load it? thanks
On 20 Ott, 20:13, marcelo <[EMAIL PROTECTED]> wrote: > The easiest way to do it is using the API functions > GMercatorProjection.fromPixelToLatLng() and > GMercatorProjection.fromLatLngToPixel(), however, if you're using > static maps, you're probably not loading the API, are you? > :-)http://code.google.com/apis/maps/documentation/reference.html#GMercat... > > That calculation can also be done without the API, of course, but I > don't have those functions handy. > I believe Bratliff has a js include that has some of the functions > needed, similar to > these:http://groups.google.com/group/Google-Maps-API/browse_thread/thread/4... > > You know the lat/lon of the map center, the width and the height in > pixels, so you calculate the lat/lon at the edge pxels, North-South > and East-West, and then the distance between those edges. > > -- > Marcelo -http://maps.forum.nu > -- > > On Oct 20, 6:50 pm, AlessandroCaruso <[EMAIL PROTECTED]> wrote: > > > When i download a static map from google, can i know the largeness of > > map in km??what can i do? > > > thanks a lot --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
