tile_renderer.skin.ComponentType
- class tile_renderer.skin.ComponentType(*, name: str, shape: ~typing.Literal['point', 'line', 'area'], styles: dict[str, list[~tile_renderer.skin.ComponentStyle]], tags: list[str] = <factory>)
Bases:
Struct- __init__()
Methods
__init__()encode()get_styling_by_zoom(zoom)Attributes
- encode() _SerComponentType
- get_styling_by_zoom(zoom: int) list[ComponentStyle] | None
- styles: dict[str, list[ComponentStyle]]