Embedding Functions
There are also two functions created in any embedded SVG file, used to map values between their numeric and their text representations.
For every property, you'll have a matching MapValueid and MapColourid function. So for property 11, you'll have a function named MapValue11 and MapColour11.
These both take a single value as a parameter.
The functions return a text value (from MapValue) and a web colour (from MapColour) to translate the values into the textual or colour forms.
Although you can of course use any text value or colour that you like, using these functions ensures that your colours remain consistent - and if the ARDI administrator makes changes to the colour schemes or the enumeration values, you don't have to update each of the SVG files that use those values.