We have done something similar. What we do is save the bounds when we create
the map. Then you know the exact size and latlong span of the map. This can
be easily used to calculate pixel position by deviding the latlong span by
the amount of pixels.

Example:
http://www.denhaag.nl/home/bewoners/to/Wonen-in-de-binnenstad.htm

You can try out the tool to create one at:
http://www.denhaag.nl/home/Den-Haag-op-de-kaart.htm

use the button "kopieer deze kaart" and select a view with markers, then
press next ("volgende") and klik example ("voorbeeld"). The top one is
interactive, the bottom is static.

2009/10/29 David <[email protected]>

>
> Hi,
>
> I'm writing an application that uses the static maps, and intend to
> overlay points on the static maps at their latitude longitude
> locations (without using the built in marker functionality).
>
> I have min/max longitude/latitudes of the set of points, so from this
> I can calculate a value for the center parameter. But how do I figure
> out the zoom position I need to encompass all the points? How do I
> then overlay points onto the static image at their correct relative
> locations (is there a latitude/longitude per pixel scale)?
>
> Thanks for your help
>
> >
>


-- 
Bjorn Brala
----------------
www.GeoStart.nl/english/ - Google maps - Swis Webdesign
www.twitter.com/bbrala

--~--~---------~--~----~------------~-------~--~----~
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