Peaks With Names

Well, after substantial rework on the rendering code, the new version of Kosmos is here. Highlights:

  • It is now possible to add more than one template for a rendering rule. So you no longer need separate rendering rules for a restaurant icon and the restaurant’s name, for example.
  • Text template has a new property: TextLineOffset, which specifies the line offset of the text as a percentage of the text size. Negative offset means moving the text down from the original node’s position. This only works if you use TextMode=Node. I will add similar feature for other text modes in the future.
  • Symbol template can now be used for ways or areas too. It will draw the specified symbol along the way using a specified Density.
  • Some minor bugfixing.

Click on the image above to see samples of renderings using TextLineOffset and Symbol along a way.

I will update the Kosmos pages on the OSM Wiki shortly.