Appearance
Route Map Widget
Overview
Route Map Widget includes its own configuration fields in the widget configuration flow.
Configuration Fields
- Alias
- Devices
- Selected Device ID
- Title
- Show Title
- Location Mode
- Latitude Key
- Longitude Key
- GPS Key
- Heading Key
- Speed Key
- Timestamp Key
- Default Zoom
- Default Lat
- Default Lon
- Auto Fit
- Show Start Marker
- Show End Marker
- Show Live Marker
- Allow Zero Coordinates
- Max Points
- Route Color
- Route Opacity
- Line Width
- Map Style Url
- Loading Devices
- Loading Keys
- Global Keys
- Device ID
- Device Ids
- Telemetry Keys
- Metric
Defaults
- Alias — null
- Selected Device ID — config.deviceIds?.[0] || "").trim(
- Title — "Route Map"
- Show Title — true
- Latitude Key — "lat"
- Longitude Key — "lon"
- GPS Key — "gps"
- Heading Key — ""
- Speed Key — ""
- Timestamp Key — ""
- Default Zoom — 4
- Default Lat — 20.5937
- Default Lon — 78.9629
- Auto Fit — true
- Show Start Marker — true
- Show End Marker — true
- Show Live Marker — true
- Max Points — 1500
- Route Color — "#2563eb"
- Route Opacity — 0.9
- Line Width — 4
- Map Style Url — ""
Source
- File — RouteMapWidgetConfig.tsx
