On 1 sep, 22:15, "maps.huge.info [Maps API Guru]" <[EMAIL PROTECTED]>
wrote:
> Now I see what you're talking about.
>
> The problem isn't in the API or anything to do with regular polylines,
> but in the projection (World Mercator) that Google uses to display a
> round world on a flat map. This is a universal problem, one that can't
> be handled with a straight polyline drawn across the globe. There is
> an option called "geodesic" that will solve that problem but it

I understand what you mean. But now I probably also understand the
underlying problem of it all. Just to be sure...

If a line is straight on the flat earth at zoomlevel 1, should that
line still be as straight and have the same heading at, say, zoomlevel
8?

Because I'm working on userinterface. For me, this time, it's
important that the line remains straight, not bend with the earth. The
reason is that I'm plotting a marker on the line nearest to the mouse
(hardly a novelty) and this marker strays from the line when zooming
in because of this "bug". So if the algorithm (posted in first my
post) is able to compute the correct position of the straight line,
why isn't google maps? It would make more sense to me that a line that
has, say, Moscow left of a GPolyline at one zoomlevel, would still
have it left at any other zoomlevel. But maybe that's just a design
choice made by the team...
--~--~---------~--~----~------------~-------~--~----~
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