Skip to main content

Quantela platform user manual

Historical route marker movement in a map widget

You can track the historical vehicle movement to understand and analyze where, when and how the vehicle moved or stopped. You can also control the speed of movement of the vehicle using the track panel.

  1. Enable Historic Track Panel and ensure the desired icon and track configuration is selected in the Features tab.

    Note

    • The selected icon and track configuration will be applied to all the layers.

    • Refresh the dashboard if this Historic Track Panel is toggled for better results.

  2. During dataset creation, the Tags field has to be the text historicstart so that it is displayed in the Dataset tab to view the live or initial data of the markers. For more information, see Create a dataset. Also, Request Parameters can be set to to accept the vehicle details using dynamic variables for e.g: vehicle number, from and to date, the vehicle journey's start and end points, and the historical path as inputs.Create a dataset

    historic_initial_dataset.png
  3. Select another dataset in the Dataset tab that contains the historical route information. This dataset will be called the Historic Route Dataset in the Settings tab and will be used to show the historical route of the marker. Also, during dataset creation, the Tags field has to be the text historicroute so that it is displayed here to view the historical route of the markers. For more information, see Create a dataset. Also, Request Parameters can be set to to accept the vehicle details using dynamic variables for e.g: vehicle number, from and to date, the vehicle journey's start and end points, and the historical path as inputs to play the route of a particular vehicle(s).Create a dataset

    Note

    The Historic Route Dataset should be in the following format and contain the following attributes as illustrated below. It mainly needs to contain the keys lat, lng, time and a unique id. Any unique id can be used in place of the vehicleid key.

    historicroute_dataset_format.png

    Also, other keys with any related vehicle info can be added as well. A key info needs to be created as an array and the details can be added in it as illustrated below.

    historicroute_dataset_format_1.png
    historic_final_dataset.png
  4. Configure the map widget settings in the Settings tab as mentioned earlier. Apart from the previous settings there is the additional setting Historic Route Dataset which is the second dataset which contains the historical route information.

    historic_settings.png

Configure the rest of the settings in the map widget as described earlier.

Once you have configured all the above settings you are ready to view the historical route marker movement on the map.

new_historical_route_map_markers.png

There is a historic track panel that is displayed on the top right hand corner of the widget. It has some control buttons which enable the user to perform specific actions. The following are the options available to control the movement of the marker and display the associated information.

  1. Select Track Point to display the track points in the path of the marker.

  2. Select Track Line to display the track lines in the path of the marker.

  3. Click historic_track_panel_play.png to play the historical route movement of the markers.

    Note

    If you Search or Filter while the historical route of the markers are being played, a confirmation dialog is displayed asking if you want to stop the playback.

  4. Click historic_track_panel_pause.png to pause the historical route movement of the markers.

  5. Click historic_track_panel_replay.png to replay the historical route movement of the markers.

  6. Click historic_track_panel_slow.png to decrease the playback speed thus making the historical route movement of the markers slow.

  7. Click historic_track_panel_quick.png to increase the playback speed thus making the historical route movement of the markers fast/quick.

  8. Click historic_track_panel_close.png to recreate the historic track panel from start.

  9. The Start Time is the time of the first movement of the marker(s).

  10. The End Time is the time when the movement of the marker(s) has stopped.

  11. The Cur Time is the current time of the historical route movement of the markers.

  12. The Speed is the playback speed of the markers.

    Note

    The default speed is x10. The minimum is x1 and the maximum is x24.

The properties of the live data dataset is populated in the track point pop-up information dialog. You can choose which properties to display by selecting/deselecting them in the Information panel in the Actions tab and this is layer specific.