Configuration¶
Global configuration settings, file paths, and schema definitions for the GeoCrime STL package.
MapConfig
¶
Bases: NamedTuple
Configuration container for map rendering defaults.
Attributes:
| Name | Type | Description |
|---|---|---|
coords |
tuple[float, float]
|
Center coordinates (latitude, longitude) for the map view. |
zoom |
float
|
Initial zoom level. |
height |
str
|
CSS height string for map containers. |
bbox |
tuple[float, float, float, float]
|
Bounding box coordinates (ymin, xmin, ymax, xmax). |
Source code in src/geocrime_stl/config.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |