
This is somehow the two major ingredients besides others like travel mode, travel time, etc…Īs described above, we will need to alter the widget.html file for this to allow a user to make some input and to trigger the route calculation with ORS: We will not cover this for this basic example! Setting up the user dialog for routingĪny routing application demands a user to put in the start as well as the end location for the demanded route. You might have noticed the ShowVertexFeatureAction in our Demo widget.


widget.html – the html element which shows up in the app.widget.js – which holds all JS code for the widget itself.config.json – which is filled when we save the app in the WAB.

The widget of an app The folder/file structure for a widget
