Yes, that's great. Since I only need the width in degrees, I was able to do something simpler:
var equatorPixel = map.fromLatLngToContainerPixel(new GLatLng(0.0, 0.0)); var nearbyPixel = new GPoint(equatorPixel.x + 1, equatorPixel.y + 1); var pixelLatLng = map.fromContainerPixelToLatLng(nearbyPixel); var pixelLat = Math.abs(pixelLatLng.lat()); var pixelLng = Math.abs(pixelLatLng.lng()); I probably don't need the Math.abs() if I use -1 instead of +1 to get to the nearby pixel. On Feb 18, 12:58 pm, "warden [Andrew Leach - Maps API Guru]" <[email protected]> wrote: > On Feb 18, 11:48 am, sTeamTraen <[email protected]> wrote: > > > I'm trying to find a reliable way to find out what the size (in lat/ > > lng) of a pixel is. > > Does the last post in this very recent thread > help?http://groups.google.com/group/Google-Maps-API/browse_thread/thread/f... > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
