Bounds for static map?
Hello,
I've done extensive research on this topic, but I haven't been able to
find information on how to obtain the lat/lon bounds for a map that is
returned using the Static Maps API.
For example, suppose I enter this query:
http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap&sensor=false
How do I then obtain the lat/lon bounds for the bottom-right and top-
left pixels? Is there a scaling factor from the 'zoom' and 'center'
parameters to the lat/lon bounds for the image, without having to get
into the nitty-gritty of map projections? I just need a quick-and-
dirty approximation of a linear scale factor, since I'm looking at
zoom factors of 13 and higher, where map distortions aren't terribly
significant in my application.
Can I access this information using a JSON script or some other return
mechanism? Oh, please let there be! Feel free to let me know if I'm
barking up the wrong tree.
I've looked through the API here already:
http://code.google.com/apis/maps/documentation/staticmaps/
My thanks in advance.
Manu
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home