Created
August 28, 2018 11:01
-
-
Save here-devblog-gists/10539e9c5e9f58a62b3194f6104e9692 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
/* Define Waypoints for the route | |
* The first one being current location | |
* Select the rest from the ResultList | |
* */ | |
routePlan.addWaypoint(new RouteWaypoint(currentLocation)); | |
for (DiscoveryResult item : s_ResultList) { | |
if (item.getResultType() == DiscoveryResult.ResultType.PLACE) { | |
PlaceLink placeLoc = (PlaceLink) item; | |
routePlan.addWaypoint(new RouteWaypoint(placeLoc.getPosition())); | |
} | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment