> 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?
OK for me. Maybe it should use the same algorythm that is used for
finding text place?

> 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;
Ok. Worth adding to wiki.

> (Alternatively, we could make it understand 70% too)
How about this behaviour:
 - if only icon-width or icon-heght is given, resize the other one to
have non-stretched icon;
 - if both are specified, rescale the image non-proportionally;
 - if none is specified, don't resize image;
 - icon-width/height value could have % char in the end, that means
that measured size of image should be multiplied by that number of
percents.

> I haven't added anything to the wiki page yet, as I wanted to wait for the
> outcome of this discussion.
-- 
Komяpa aka Darafei Praliaskouski
xmpp:[email protected] mailto:[email protected]

_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss

Reply via email to