Painting Stages
Introduction
Maperitive draws maps in several stages. Each new stage draws on top of previous stages. The painting stages are (in order):
- MapBackground: if the map does not contain sea, this stage is used to draw the land background. If the map contains sea, this stage is used to draw the sea polygons.
- Landmass: if the map contains sea, this stage is used to draw the land (on top of sea polygons).
- BitmapBackground: in this stage raster images and Web map tiles are drawn (but only if they are configured to be drawn in the background).
- LandUse: this stage is used to draw all fill (TODO) symbols.
- BitmapForeground: in this stage raster images are drawn (but only if they are configured to be drawn in the foreground).
- Infrastructure: in this stage all contour (TODO) and line (TODO) symbols are drawn.
- Symbols: in this stage all icon and shape symbols are drawn.
- Labels: this stage is used to draw all text symbols.
- BitmapOverlay: in this stage Web map tiles are drawn (but only if they are configured to be drawn in the foreground).
- MapLegend: this stage is used to draw map decoration elements, like the map grid and the map scale.
Techniques
You can use MapMinPaintingStage (TODO), MapMaxPaintingStage (TODO) and MapHiddenPaintingStages (TODO) settings to control which stages will be painted. This can be useful if, for example, you want to render a map without any text labels - you can use the existing rendering rules without any modifications.