# RenderTheme **This article describes how to use XML-based render-themes to style maps.** If you have any questions or problems, don't hesitate to ask our public [forum](https://groups.google.com/group/mapsforge-dev) for help. You can also report bugs and improvement requests via our [issue tracker](https://github.com/mapsforge/vtm/issues). ## Introduction A render-theme is an XML file which contains rules and rendering instructions. Such files can be used to customize the visual style of the rendered map. The vtm map library comes with built-in render-themes similar to the [Osmarender](http://wiki.openstreetmap.org/wiki/Osmarender) style. External render-theme files are also supported and can be activated via the `map.setTheme(ThemeLoader.load(File))` method at runtime. Syntax and semantics of render-theme files are similar but not identical to [Osmarender rules](http://wiki.openstreetmap.org/wiki/Osmarender/Rules). A formal render-theme description exists as an *XML schema document*, it can be found in the [repository](https://github.com/mapsforge/vtm/blob/master/resources/rendertheme.xsd). It is always recommended to study the [default](https://github.com/mapsforge/vtm/blob/master/vtm-themes/resources/assets/vtm/default.xml) built-in render theme. ## Rules A rule element `` (_match_) has several attributes to specify which map elements the rule matches. Non of them is required. |**Attribute**|**Valid values**|**Description**|**Default**| |-------------|----------------|---------------|------------| |e||Defines which map element type will be matched.|*any*| |k|[string](http://www.w3.org/TR/xmlschema-2/#string)|The key of the tile source tag.