config
config
Define application configuration for TapMap.
Edit this file to adjust basic behavior without modifying application code.
LocationMode = Literal['auto', 'none']
module-attribute
SERVER_PORT = 8050
module-attribute
HTTP port used by the local Dash server.
MY_LOCATION = 'auto'
module-attribute
Local map marker options: - (lon, lat): fixed manual coordinates - "auto": approximate location based on public IP - "none": disable local marker
POLL_INTERVAL_MS = 5000
module-attribute
Interval between model snapshots and cache updates.
COORD_PRECISION = 3
module-attribute
Decimal precision used when grouping services into map markers.
3 corresponds to approximately 100 m precision.
ZOOM_NEAR_KM = 25.0
module-attribute
Distance threshold in kilometers for marking locations as far.
Locations within this distance are shown in yellow.