[Google Maps API v3] Re: Converting from a given pixel x/y value to LatLng on the server

2011-03-03 Thread Nianwei Liu
The sample you mentioned has both from/to formula. On Mar 3, 9:10 am, sgiddings mr.s.giddi...@gmail.com wrote: Having taken the example page for Map Coordinates as a starting point -http://code.google.com/apis/maps/documentation/javascript/examples/ma... ... I tried to do a the conversion

[Google Maps API v3] Re: Converting from a given pixel x/y value to LatLng on the server

2011-03-03 Thread sgiddings
Sorry, Just realised that the values given in my opening post were simply duplicated ... tried to go too quickly. Input values LatLng - pixels Latitude : 41.850033 Longitude : 87.6500522997 Zoom Level: 0 Pixel output : X : 65 Y : 95 Now conversion back to Lat/Lng Latitude :

[Google Maps API v3] Re: Converting from a given pixel x/y value to LatLng on the server

2011-03-03 Thread sgiddings
Sorry, Just realised that the values given in my opening post were simply duplicated ... tried to go too quickly. Input values LatLng - pixels Latitude : 41.850033 Longitude : -87.6500522997 Zoom Level: 0 Pixel output : X : 65 Y : 95 Now conversion back to Lat/Lng Latitude :

[Google Maps API v3] Re: Converting from a given pixel x/y value to LatLng on the server

2011-03-03 Thread Rossko
Is this simply a question of the fact that we loose the decimal values for pixels and therefore cannot have sufficient accuracy ? I think so; at zoom level 0, each pixel represents a fair few square miles. -- You received this message because you are subscribed to the Google Groups Google

[Google Maps API v3] Re: Converting from a given pixel x/y value to LatLng on the server

2011-03-03 Thread bratliff
On Mar 3, 7:40 pm, Rossko ros...@culzean.clara.co.uk wrote: Is this simply a question of the fact that we loose the decimal values for pixels and therefore cannot have sufficient accuracy ? I think so; at zoom level 0, each pixel represents a fair few square miles. Actually, 256 pixels