[Mapcss] icon-width, icon-height or icon-scale?

Sebastian Spaeth Sebastian at SSpaeth.de
Thu Jul 8 09:51:58 BST 2010


Dear all, ceyx implemented 'icon-image' and it works just fine. I have some
issues though:

Currently 'icon-image' is under the 'Point/icon properties' which looks
like it can only apply to a node. My icon-image can also apply to ways
(areas) and is drawn at their center. Is that the intended behavior?
In that case we should add a comment that Point/Icon can apply both to nodes
and ways.

Currently, there is no way to scale an icon. Looking at CSS, it would
use height and width and apply it to the image. As we use icon-image to
specify the icon, what about using:

icon-width 19;
icon-height: 19;

(Alternatively, we could make it understand 70% too)

Or would people prefer a single 'icon-scale: 0.7;' attribute? Then what
is both icon-scale and icon-width are given?

I haven't added anything to the wiki page yet, as I wanted to wait for the
outcome of this discussion.

spaetz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/mapcss/attachments/20100708/0957ab02/attachment.pgp>


More information about the Mapcss mailing list