Framstag / libosmscout

Libosmscout is a C++ library for offline map rendering, routing and location lookup based on OpenStreetMap data
Other
261 stars 81 forks source link

Add a 'scale' parameter to NODE.ICON #1321

Open vyskocil opened 2 years ago

vyskocil commented 2 years ago

It would be nice to have a scale parameter for icon rendering which would allow mainly to reduce somewhat some icon size without the need to use smaller icon images.

Karry commented 2 years ago

You mean icon parameter in the stylesheet, right?

vyskocil commented 2 years ago

@Karry yes.

Framstag commented 2 years ago

IMHO not all backend use the *.svg version for the icons, so it will possibly be just a hint. But sounds OK fore me. This would allow some more flexibility in styling (cathedral vs. chapel ;-)).

vyskocil commented 2 years ago

@Framstag iOS/OSX don't use *.svg but icons could be scaled, better results when scaling down of course