This topic describes how to configure a trail map to display query results.
Background information
A trail map uses AMap to display the trail of a target over a period of time. Log Service provides two display modes for trail maps: longitude and latitude and points of interest (POI).
Each trail map consists of the following elements:
- Map canvas
- Points and lines
- Time line
Procedure
Examples
To view the trails of specific confirmed COVID-19 cases in Hainan province during
the epidemic period, execute the following query statement.
- SQL statement
type:trace | select location, __time__, id, action, text
- Dataset
location __time__ action id text Village A, Longhua District 1582892272 Drive home 170 On the morning of February 24, confirmed case No.170 drove home with confirmed cases No.136 and No.143 from Haikou city center to Village A of Longhua District. Village A, Longhua District 1582892272 Stay home 170 Confirmed case No.170 stayed home from February 25 to February 27, but met confirmed case No.123. Village A, Longhua District 1582892272 Drive to Haikou 170 On the morning of February 28, confirmed case No.170 drove from Village A of Longhua District to Haikou and bought food at the wet market in Longqiao Town. - Properties
- Trail map