You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fef4d2f
Browse filesBrowse the repository at this point in the historyBrowse files
Added hover mode for labels and made it the default
labels: false hides them, hover shows them on mouse-over, true always
shows them, and a zoom level shows them always from that level up and
on mouse-over below it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
| `show_area` | boolean | `false` | Draw the feed's area, if it has one |
212
+
| `area_color` | string | `#1565c0` | Colour of the area outline: a name, hex or `rgb()` value. CSS variables do not work here |
213
+
| `labels` | boolean / `hover` / number | `hover` | Labels next to markers: `false`off, `hover` on mouse-over, `true` always, or a zoom level (e.g. `12`) to show them always from that level up and on mouse-over below it |
214
+
| `color_by` | enum | `kind` | `kind`, or `delay` for items with a delay (e.g. trains) |
215
+
| `delay_thresholds` | list | `[3, 10]` | Minutes late from which an item is shown as late (yellow) and very late (red) |
216
+
| `max_age_minutes` | number | none | Hide items whose position is older than this |
217
+
| `layer_control` | boolean | `true` | Show a checkbox for the feed in the map's layer control. The plugin's `name` is its label |
218
+
| `visible` | boolean | `true` | Show the layer when the map opens. Set to `false` to start with it switched off in the layer control |
219
+
| `language` | enum | browser language | `fi`, `sv` or `en`, for the texts the plugin writes itself (ages, speeds, delays) |
220
220
221
221
Popup rows written by the feed are shown in the feed's own language.
0 commit comments