Travel times card

Drive, transit or walking times from here to key destinations, each coloured by congestion against its usual time. The host supplies the routes.

Category: Public information. Tags: Transit and travel, Wayfinding and directories, Weather and environment.

Previews

Travel times
Canvas
Travel times
Corner
Travel times
Chip

Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

Card views, themes and publishing. Browse the gallery.

Data and privacy

Feed: screenrig.traveltimes/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Properties

For theme, background, accent and position, see Common properties.

Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring""maxLength: 40Empty uses Travel times.
countinteger6minimum: 1; maximum: 12
orderstring"listed""listed", "fastest", "slowest"Closed and no-data routes always come last when sorting.
unitsstring"km""km", "mi"
scaleMinutesinteger60minimum: 10; maximum: 240The trip length a full bar stands for.
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

This card has no dynamic properties.

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

{
  "id": "travel-times",
  "primitive": "card",
  "card": "travel-times",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill"
}