mapmaker.utils.svg module

Slashes aren’t valid in SVG (XML) IDs so we replace them with periods (.)

In practice, feature IDs are have the form LAYER_NAME/Slide-N/NNNNN and won’t contain any embedded periods.

mapmaker.utils.svg.svg_id(id)[source]
mapmaker.utils.svg.name_from_id(id)[source]
mapmaker.utils.svg.css_class(cls)[source]