This example demonstrates the simplest use case for the Nokia Places API: it obtains details of a place and renders it on the page using the default template.
The displayed information shows the name of the place next to a POI category icon. This is followed by the address and contact details as well as a map, where the POI icon pinpoints the location of the place. Further, the results could include also the opening hours, info on accepted payment methods, photos, a description of the place, and finally a list of reviews and ratings.
The body of the HTML page contains one element which is intended to display detailed information about the place.
The code of the example is very simple and consists of a call to the
Place constructor with two parameters:
targetNode - indicates where the place data are to be displayed
placeId - the id of the location for which data are
to be fetched and displayed parameter.