On Sep 1, 11:10 pm, qFox <[EMAIL PROTECTED]> wrote: > I understand, but I'd like a way to plot lines based on (and fixed to) > a pixel of the container, rather than a coordinate of the map. There > ought to be a difference between plotting line based on the map and > plotting lines based on the container, so to speak.
There is. The container pixels are recalculated every time you zoom in or out, so if you want to plot your line based on pixels you need to repaint it for each zoom level. However, I doubt that such a line would be useful for anything. You're failing to understand the difference between euclidean geometry and spherical geometry. There is no such thing as a straight line in spherical geometry, and the algorithm you posted in your first post only applies to euclidean geometry. If you explain what you're trying to achieve with such a line, perhaps we can give you better advice. -- Marcelo - http://maps.forum.nu -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
