The received results from the following function contain no metadata for all categories.
func categorySearchResultsReceived(category: SearchCategory, results: [SearchResult]) {}
Here's an example of a restaurant's metadata:
MapboxSearch.SearchResultMetadata(data: ["iso_3166_2": "GB-ENG", "iso_3166_1": "gb"], primaryImage: nil, otherImages: nil, phone: nil, website: nil, reviewCount: nil, averageRating: nil, openHours: nil)
Here's the configuration of the search box.
lazy var searchController: MapboxSearchController = {
var configuration = Configuration(hideCategorySlots: true)
return MapboxSearchController(configuration: configuration)
}()
lazy var panelController = MapboxPanelController(rootViewController: searchController)
I'm using Mapbox search 1.0.0-rc.8. Am I missing something in the configuration?
The received results from the following function contain no metadata for all categories.
Here's an example of a restaurant's metadata:
MapboxSearch.SearchResultMetadata(data: ["iso_3166_2": "GB-ENG", "iso_3166_1": "gb"], primaryImage: nil, otherImages: nil, phone: nil, website: nil, reviewCount: nil, averageRating: nil, openHours: nil)Here's the configuration of the search box.
I'm using Mapbox search 1.0.0-rc.8. Am I missing something in the configuration?