To obtain the latest version of the Data Inspector Library examples and run them, create an empty directory and run the following command in it:
npx @here/olp-examples --china
Alternatively, you can download an archive with Data Inspector examples from the HERE platform portal. Once that is done, you can run the following command in the extracted archive folder:
npm install && node ./olp-examples --china
--china option in the command above to be able to access the China variant of the platform.
Once the server has been launched, open
http://localhost:5000/ in your favorite browser. The HTTP server application automatically copies this URL to the clipboard, so you can just paste it into your browser.
Click the Source code button to view the source code of an example app in a separate browser tab.
Click the Details button to view the detailed description of an example app.
Data Inspector Library examples are also available live in the HERE platform. Follow this link to access examples hosted on the HERE platform. You can start investigating Data Inspector capabilities right away, without any installations.
For more details about what each example does, see the Run Example Apps chapter.