Category search and detailed results

In this example, you can perform a category search, then select a place from the list of results to view the full details. The detailed information includes contact details, a map, opening hours, photographs and a list of reviews with ratings.

The body of the HTML page contains:

The implementation obtains an Nokia Places API category search object, by calling nokia.places.widgets.CategoryBox(), passing to it:

nokia.places.widgets.Place is instantiated with the id of the HTML element which is to display the details of the place chosen by the user from the search results.

For the search result, an instance of nokia.places.widgets.ResultList is created with the following parameters: