On Sep 10, 1:07 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I have the same problem by calculating hotspot positions on the my map
> canvas.
>
> for example if i use an 100x100px image with center of 53.112000,
> 6.992000 with span of 0.0040.
> i thought top left corner was (center - (span/2)) in both directions
> and bottom right was (center + (span/2))
>
> this is not right? too bad :(
>
> i know an exception is if the image was NOT 1:1 (100x100)...
> if image is 240x320 the span is 240(100%, 0.0040) x 320(133.3%,
> 0.005332)
>
> so its true what John Coryat says?... its not possible to get the
> "real" coordinates when i use static maps ?
>
> thx a lot
>
> Benjamin
>
> Gaz schrieb:
>

The file:

    www.polyarc.us/adjust.js

contains the Mercator projection stuff.

The file:

    www.polyarc.us/static

shows it in action with "click" & "mousemove" event handlers.  The
function "Parser" digs the (center / size / zoom) parameters out of
the static map URL.


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