HERE Real-Time Traffic data
HERE Real-Time Traffic data on the platform is visualized with the dedicated GeoJSON rendering plugin. By editing the default plugin code, you can customize your visualization as needed.
The plugin for HERE Real-Time Traffic data is included in the data schema of the Flow layer: 
Example app
Before you can visualize traffic flow data, you need to know the HERE Resource Name (HRN) of the layer that contains this data and the zoom level of the layer with traffic data. You can find the catalog HRN in the Data section of the portal.
To visualize HERE Real-Time Traffic Data from a catalog, follow these steps:
-
Install the web app generator and enter your application name when prompted.
-
When prompted
What kind of data will you visualize on top of the Base map?, select the optionTraffic Flow data. -
When prompted
HRN of the Catalog you want to visualize?, enter the HRN of the catalog that has traffic data. -
When prompted
Name of the layer you want to visualize?, enter the name of the layer that contains traffic data. -
When prompted
On which level the data is stored?, enter the level of the layer with traffic data. -
Once the code is generated, you can build and serve the web app by running the following command:
npm run startTo see the web app, open
http://localhost:8080in a web browser.To render the base map, enter the credentials that you obtained from the platform.
Updated 3 days ago