On Aug 29, 4:34 pm, Ben Appleton <[email protected]> wrote: > Confirmed, I had set too low a limit on the number of vertices. I've fixed > it locally, should go live in a week or so.
Thank you. -- Larry > > - Ben > > On Fri, Aug 27, 2010 at 5:21 PM, Ben Appleton <[email protected]> wrote: > > > On Fri, Aug 27, 2010 at 4:31 PM, [email protected] < > > [email protected]> wrote: > > >> On Aug 26, 10:26 pm, Ben Appleton <[email protected]> wrote: > >> > On Fri, Aug 27, 2010 at 3:04 PM, Ben Appleton <[email protected]> > >> wrote: > > >> > > On Fri, Aug 27, 2010 at 2:53 PM, [email protected] < > >> > > [email protected]> wrote: > > >> > >> On Aug 26, 9:26 pm, Ben Appleton <[email protected]> wrote: > >> > >> > On Fri, Aug 27, 2010 at 2:17 PM, [email protected] > >> > >> > <[email protected]>wrote: > > >> > >> > > On Aug 26, 7:49 pm, xf_aicn <[email protected]> > >> wrote: > >> > >> > > > Hi all, > > >> > >> > > > Now i'm doing a project that connect two place with a > >> > >> > > > polyline(geodesic is true), and then at the same time, show a > >> marker > >> > >> > > > on the middle of the polyline, how can I do this? I can't get > >> the > >> > >> > > > coordinate on thepolyline > > >> > >> > >http://www.geocodezip.com/v3_polyline_example_geodesic.html > > >> > >> > > Seems to be off the "native" google geodesic polyline. Don't > >> know > >> > >> > > why. > > >> > >> > The geodesic marker looks OK me in Chrome/WinXP. I've attempted to > >> > >> attach > >> > >> > an image, though I do not know if groups allows attachments. > > >> > >> > In which browser are you seeing the problem? > > >> > >> IE6 (and Chrome, FF; Opera doesn't seem to want to show the map), but > >> > >> click on the marker then "zoom in" to see the difference in the > >> > >> polylines (the green polyline is the "native" google maps one, the > >> red > >> > >> is the one that was calculated). How are the "native" geodesic > >> > >> polylines rendered? > > >> > > Oh interesting: if the green line is the native geodesic then it > >> appears > >> > > slightly off compared to the red line. At least one of them is wrong > >> - I'll > >> > > take a look. > > >> > Even more interesting: if you zoom in enough so that the 2 lines are > >> > distinct, then pan repeatedly (try the home/end/pgup/pgdn keys), the red > >> > line seems to wander away from the green line and then wander back > >> again, > >> > meeting at regular intervals. So they agree at a set of virtual > >> vertices, > >> > and diverge elsewhere. > > >> > Your function geodesicPolyline() seems to compute 50 intermediate > >> vertices, > >> > is that right? > > >> Yes. I hadn't notices the scalloping. But if I put markers on the > >> points that are calculated, that isn't where the lines line up... > >> v3_polyline_example_geodesic_proj.html > > > Then it looks like I have oversimplified my geodesics. I'll look into it. > > >> Using your suggestion fixes the mid-point on the normal polyline. > > >> -- Larry > > >> > >> > The center marker on the "normal" polyline seems off as well. > > >> > >> > For the "normal" polyline did you average in LatLng space or > >> projected > >> > >> > coordinates? I couldn't spot it at a glance of your code. > > >> > >> > > -- Larry > > >> > >> > > -- > >> > >> > > You received this message because you are subscribed to the > >> Google > >> > >> Groups > >> > >> > > "Google Maps JavaScript API v3" group. > >> > >> > > To post to this group, send email to > >> > >> > > [email protected]. > >> > >> > > To unsubscribe from this group, send email to > >> > >> > > [email protected]<google-maps-js-api-v3%2B > >> > >> > > [email protected]><google-maps-js-api-v3%2B > >> [email protected]><google-maps-js-api-v3%2B > >> > >> [email protected]> > >> > >> > > . > >> > >> > > For more options, visit this group at > >> > >> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > >> > >> > geodesic_markers.PNG > >> > >> > 116KViewDownload > > >> > >> -- > >> > >> You received this message because you are subscribed to the Google > >> Groups > >> > >> "Google Maps JavaScript API v3" group. > >> > >> To post to this group, send email to > >> > >> [email protected]. > >> > >> To unsubscribe from this group, send email to > >> > >> [email protected]<google-maps-js-api-v3%2B > >> > >> [email protected]><google-maps-js-api-v3%2B > >> [email protected]> > >> > >> . > >> > >> For more options, visit this group at > >> > >>http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Google Maps JavaScript API v3" group. > >> To post to this group, send email to > >> [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<google-maps-js-api-v3%2B > >> [email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
