Skip to content

Contributing templates

Templates are SVG files plus a manifest entry. Once contributed, they appear in the editor’s Participants and shape menus next to the built-in templates.

The contribution flow is in the public repo:

Template Guide

FolderExamples
templates/vehicle/Sedan, Bus, Truck, Motorcycle
templates/pedestrian/Walking, Simple
templates/road_marking/Crosswalk, arrow markings
templates/sign/Stop, yield, signal heads
templates/other/Anything else
  1. Add your SVG under the right category folder.
  2. Register it in templates/manifest.json.
  3. Open a PR. Include a screenshot of the template placed on the canvas.
  • Drawn at a sensible default size (vehicles around 4–5 m for a sedan).
  • A single colour-changeable region marked with a known fill, so the Attribute Panel’s colour picker can recolour it.
  • No external font references — text is converted to paths if present.
  • Reasonable file size (under ~30 KB for a vehicle-sized template).