Appearance
Map Widget
Overview
Map Widget includes its own configuration fields in the widget configuration flow.
Configuration Fields
- Alias
- Devices
- Selected Device Ids
- Title
- Show Title
- Location Mode
- Latitude Key
- Longitude Key
- GPS Key
- State Key
- Status Key
- Heading Key
- Speed Key
- Timestamp Key
- Popup Keys
- Marker Mode
- Default Zoom
- Default Lat
- Default Lon
- Auto Fit
- Allow Zero Coordinates
- Map Style Url
- Items
- Global Keys
- Loading Devices
- Loading Keys
- Device Ids
Defaults
- Alias — null
- Selected Device Ids — []
- Title — ""
- Show Title — true
- Location Mode — "separate"
- Latitude Key — "lat"
- Longitude Key — "lon"
- GPS Key — "gps"
- State Key — ""
- Status Key — ""
- Heading Key — ""
- Speed Key — ""
- Timestamp Key — ""
- Popup Keys — []
- Marker Mode — "asset"
- Default Zoom — 4
- Default Lat — 20.5937
- Default Lon — 78.9629
- Auto Fit — true
- Map Style Url — ""
Source
- File — MapWidgetConfig.tsx
