http://www.drama.com.tw/map2.html
it's work now, but I got one more question, I save the coordinate, and
show it successful,
but I don't know how to edit the path "again", please help me with the
function that have default coordinate.


On 7月17日, 上午9時18分, "David .Wu" <[email protected]> wrote:
> http://econym.org.uk/gmap/example_snappathdrag.htm
> the function will fail in IE 8
>
> On 7月16日, 下午2時03分, "David .Wu" <[email protected]> wrote:
>
> > yup, it's work, but I don't know how to redraw the line after remove
> > the mark by double click the mark.http://www.drama.com.tw/map2.html
>
> > On 7月16日, 上午11時49分, Andrew Leach <[email protected]>
> > wrote:
>
> > > On Jul 16, 10:41 am, "David .Wu" <[email protected]> wrote:
>
> > > > Thanks for your kindly resposne, I try to use the GDerections before,
> > > > but I got several issues
>
> > > > directionsPanel = document.getElementById("route");
> > > > directions = new GDirections(map, directionsPanel);
> > > > directions.load('from: 台北市文山區一壽街62號 to: 台北市文山區木新路二段' +' to: 台北市文山區指南路二
> > > > 段 ');
>
> > > > 1. Need to type exact address, if you use navigator function on
> > > > maps.google.com, it have many function to help to correct the address,
> > > > I don't know how to do that.
>
> > > You can use coordinates instead of address, which may help if you are
> > > placing markers (Mike has a "Snap to road" example on his tutorial
> > > pages, too, which could help with placing markers in the first place).
>
> > > > 2. If the direction is not as I want, I can't change the path only by
> > > > GDresctions function
>
> > > Well, you could read through the line-coordinates returned from
> > > GDirections and make an editable polyline yourself, instead of
> > > allowing GDirections to draw its own inert line. I'm sure there have
> > > been examples of editable directions: search the Group.
>
> > > > so, drawing polyline can't make it fit to the road right?
>
> > > Only by using directions, unless you use Mike's "Snap to road" feature
> > > and get the user to put his markers at every intersection or bend
> > > along the route.
>
> > > Andrew
--~--~---------~--~----~------------~-------~--~----~
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