Walking travel mode fixed #9

wants to merge 2 commits into


None yet

1 participant


Setting the travel mode to UICGTravelModeWalking was causing the following error to be thrown

Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Unrecognised leading character (41)\

The bug was caused by a wrong use of GDirections. As stated in the google maps API documentation

The mode of travel, such as driving (default) or walking. Note that if you specify walking directions, you will need to specify a panel to hold a warning notice to users.


gdir = new GDirections(null, null);

has been replaced with this

gdir = new GDirections(null, "body");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment