Element Type Icon Guide
This guide explains how to assign the correct value for the element_type_icon key in the Long Form Quest Definition JSON file used by AVIV ScoutRoute.
For a list of all guides on the TCAT Wiki, refer to the Guides List.
These icons help the mobile app display appropriate quest icons for each element type (like sidewalks, crossings, kerbs, etc.).
Instructions
- Open the Icon Reference Website
- Search for the Appropriate Icon
- Use the search bar on the website to search for an icon related to the element you're working with (e.g., "sidewalk", "crossing", "kerb").
- Find the Icon Name
- Once you've located a suitable icon, click on it.
- Copy the exact icon name (e.g., sidewalk, car_charger_capacity).
- Add It to Your Quest Definition
- Insert the icon name as the value for the
element_type_iconkey. - Make sure to not include any file extension (like .png or .svg)
- Insert the icon name as the value for the
Example:
"element_type": "Sidewalks",
"element_type_icon": "sidewalk",
"quest_query": "ways with (highway=footway and footway=sidewalk)",
"quests": [ ... ]
How the Mobile App Uses It
- The mobile app will parse the element_type_icon field from the JSON.
- If the value matches an icon available in the app, that icon is shown.
- If the value is missing or doesn't match, the app will fall back to a default icon.