> > The "Adjust" function converts from pixel offsets to Lat/Lon
> > coordinates. You are attempting to convert from Lat/Lon coordinates
> > to pixel offsets. You will have to do everything in reverse.
>
> Yes that is what I have been doing.
I have updated:
www.polyarc.us/adjust.js
It now has two inverse functions, XYToLL & LLToXY, to do the Mercator
projection trig.
> > I am curious about the device your users will be using. Will it
> > support JavaScript and/or DHTML ? Without one or both, I do not know
> > whether you can have overlapping images except, perhaps, with a
> > "background image". You could combine Google's Static Map with your
> > Markers at your server but it may not be legal.
>
> They will use a normal web browser on a desktop/notebook computer
> connected to the Internet. Overlapping images can be done by placing
> two <DIV> on top of each other or absolute positioning two images.
>
> I have though about combining the static map with markers as this
> would prevent having to download to images. Maybe someone from Google
> can give a yes/no on whether it would be allowed.
Pamela has added clarification in another thread:
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/bd238fb3a27265bb#
> > Would dynamic markers for static maps be useful ? JavaScript would be
> > required but not the entire API.
>
> In the current scenario I don't think so but I can certainly see where
> it would be useful.
I am planning a simple demo. You will be able to add a group of
markers rather than each marker individually. It will build the
"rollover" / "click" grid for you. It will convert from Lat/Lon
coordinates to pixel offsets for you. It will automatically
reposition according to zoom level. It will automatically cluster &
clip for each zoom level. It will give you color choices & the
ability to use square DIVs rather than images.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---