20,741
edits
Line 548: | Line 548: | ||
== Customizing MapStructure Styling == | == Customizing MapStructure Styling == | ||
{{See also|Canvas MapStructure#Styling}} | {{See also|Canvas MapStructure#Styling}} | ||
In general MapStructure symbols contain their own styles using hard-coded defaults, however these can be overridden by providing a hash with keys (fields) to customize these hard-coded defaults. | |||
This means that anything that may be specific to a single style (colors, fonts, images etc) should be encoded in the form of variables that are looked up using the styles hash - this provides a great deal of freedom to customize an existing symbol. In addition, MapStructure layers can be set up to even customize/override the default drawing routines, at which point you are free to do whatever you want basically, because the existing draw routine in .symbol file is ignored | |||
{{WIP}} | {{WIP}} | ||
{| class="wikitable" | {| class="wikitable" |