Thank you, you really helped me out! That's perfect!
On Mon, Feb 2, 2009 at 6:55 PM, [email protected] <[email protected]>wrote: > > On Feb 2, 9:37 am, "[email protected]" <[email protected]> > wrote: > > On Feb 2, 9:23 am, Rossko <[email protected]> wrote: > > > > > > Now it should work in IE but I've still the same problem with the > > > > markers... > > > > > Works in IE6. > > > > > Your maths fall down because of the distortions of Mercator > > > projection. > > > > > Example - > > > Halfway between latitudes X and Y is NOT (X +Y) / 2 exactly. > > > The error gets bigger as you get nearer the poles and as you deal with > > > country or continent size areas. > > > > > You'll either have to do some cleverer geo-math, or work in pixels > > > instead. Looking into API provided functions to return points at a > > > given distance might be helpful, if say you wanted markers every few > > > km. > > > > If I use .GetPointsAtDistance() to place the markers and use the > > resulting array to generate the line, the markers follow the line at > > all zoom levels. As you zoom in, the polyline drawn through the > > markers and the original one converge. > > http://www.geocodezip.com/intern_gmap_1.html > > > > > -- Larry- Hide quoted text - > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
