DirectionUrlFormatPoint - wrong format

Topics: Bugs
Sep 26, 2011 at 8:41 AM

Hi,

First of all I want to thank you for this amazing control.
I found a bug in DirectionUrlFormatPoint string. There should not be @ in front of gps coords. When it is so, then it returns NOT_FOUND. If you sned string without this, it works fine.

Not correct: "...origin=@{0},{1}&destination=@{2},..."

Correct: "...origin={0},{1}&destination={2},..."

Tomas

Coordinator
Sep 26, 2011 at 9:04 AM

it was fixed at:

Changeset:

699 (64139de179eb) GMap.NET.Core: fixed format url for directions

Date:

2011-09-23 09:39:02 +0300 (3 days)

Apr 28, 2015 at 12:53 PM
Hi,
I found a bug in DirectionUrlFormatWaypoint and DirectionUrlFormatWaypointStr string. When you call GetDirections (out GDirections direction, PointLatLng start, IEnumerable <PointLatLng> vayPoynts ..., an error occurs (NOT_FOUND).
Not correct: " ... origin={0},{1}&waypoints={2}&sensor=...."
Correct: "...origin={0},{1}&waypoints={2}&destination={3},{4}&sensor..."
Coordinator
May 13, 2015 at 5:11 PM
fixed
Marked as answer by radioman on 5/13/2015 at 10:11 AM