Skip to content

Desktop

Specific configuration for desktop mode.

Floating navbar on desktop Floating navbar on desktop
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

Desktop popup labels without and with backgrounds Desktop popup labels without and with backgrounds

Example of position: left with show_labels: true

Desktop navbar on the left with labels Desktop navbar on the left with labels

Example of mode floating (top) and docked (bottom)

Desktop navbar floating and docked Desktop navbar floating and docked