Green Driving Directions

  • twalters84
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Sep 27, 2007
  • Posts: 161
  • Loc: Mount Savage, MD
  • Status: Offline

Post October 3rd, 2009, 5:57 pm

Greetings,

I have a GMAP2 setup on my website that gives driving directions from Point A to Point B.

I want to add functionality that allows a user to alter the directions once the polyline has already been plotted.

Working Example:

maps . google . com/maps?f=d&utm_campaign=en&utm_source=en-ha-na-us-google-dd&utm_medium=ha (no spaces)

My Driving Directions:

green-watch . org/green-living/green-traffic.cfm (no spaces)

What javascript do I need to tweak to get the line to be draggable?

Thanks in advance for any information and / or assistance.

Sincerely,
Travis Walters
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 3rd, 2009, 5:57 pm

  • alex89
  • Bronze Member
  • Bronze Member
  • User avatar
  • Joined: Jul 18, 2008
  • Posts: 239
  • Loc: Western Australia
  • Status: Offline

Post October 5th, 2009, 6:26 am

Perhaps this might help?

http://groups.google.com/group/Google-M ... c5ebba1aac

or

http://groups.google.com/group/google-m ... 037b16e943
  • twalters84
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Sep 27, 2007
  • Posts: 161
  • Loc: Mount Savage, MD
  • Status: Offline

Post October 6th, 2009, 6:41 pm

Hey there,

Thanks for the reply.

I found some code that does exactly what I want to do.

marsrutai . info/directions.htm (no spaces)

Amazing how much is involved just to get that draggable marker to appear on the gpolyline.

This issue is resolved. Thanks again.

Sincerely,
Travis Walters

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 113 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.