Desktop
Specific configuration for desktop mode.
| Name | Type | Default | Description |
|---|---|---|---|
mode |
docked | floating |
floating |
Choose visualization mode on desktop devices. floating for centered navbar with margins, docked for edge-to-edge |
show_labels |
boolean | popup_only | routes_only |
false |
Whether or not to display labels under each route |
show_popup_label_backgrounds |
boolean | false |
Whether or not to display label backgrounds for popup items |
min_width |
number | 768 |
Screen width, in pixels, from which the navbar is displayed as its desktop variant |
position |
top | bottom | left | right |
bottom |
Position of the navbar on desktop devices |
hidden |
boolean | JSTemplate | false |
Set to true to hide the navbar on desktop devices |
Example of show_popup_label_backgrounds off and on¶
Example of position: left with show_labels: true¶
Example of mode floating (top) and docked (bottom)¶