Create a Search Experience
Create a Simple Query Search
Show a List of Search Results
void search(String searchQuery) {
//Query with a string to search on
MPQuery mpQuery = new MPQuery.Builder().setQuery(searchQuery).build();
//Filter for the search query, only taking 30 locations
MPFilter mpFilter = new MPFilter.Builder().setTake(30).build();
//Query for the locations
MapsIndoors.getLocationsAsync(mpQuery, mpFilter, (list, miError) -> {
//Implement UI handling of the search result here
});
}Filter Locations on Map Based on Search Results

Last updated
Was this helpful?