Created
August 28, 2018 10:57
-
-
Save here-devblog-gists/1de3e726d4eb4d3645489e9f2b35618e 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
... | |
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