Skip to content

transitlos.map.presentation

Presentation mode of a MapLibre page, driven by URL parameters (and a "copy presentation link" button in the normal view).

?present=1                 larger text, minimal chrome, legend reduced to the colour map, bigger stats plots, no scrolling, simplified census
shape=circles|hexagons|census|none   base layer           badges=1   route badges per stop (+stops)
z=<zoom> lat=<lat> lng=<lng>         camera               circle=<column>   circle size column
tab=distribution|regression|census|discretization|metadata   opens the stats panel on that tab
col=<column>               column of the opened tab (Distribute by / regression field)
opacity=<column> alpha=<0..1>        opacity-by column and the flat shape opacity
state=<name>               scope (US / Spain pages, handled by the scope panel)

Every parameter works without present=1 too (a shareable view); present=1 only changes the chrome.

presentation_script()

The presentation-mode script of the maps.

Returns:

Type Description
str

<script> block.