Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created August 28, 2018 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save here-devblog-gists/1de3e726d4eb4d3645489e9f2b35618e to your computer and use it in GitHub Desktop.
Save here-devblog-gists/1de3e726d4eb4d3645489e9f2b35618e to your computer and use it in GitHub Desktop.
...
s_ResultList = discoveryResultPage.getItems();
for (DiscoveryResult item : s_ResultList) {
/*
* Add a marker for each result of PlaceLink type.
*/
if (item.getResultType() == DiscoveryResult.ResultType.PLACE) {
PlaceLink placeLink = (PlaceLink) item;
addMarkerAtPlace(placeLink);
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment