Currently my rules for styling point Icons bound to scale look like this:
:mark{ mark: url("file:./icon.svg"); mark-mime: "image/svg+xml";}[atrib='xyz'][@scale > 600 ][@scale < 1000] { mark-size:10;}[atrib='xyz'][@scale > 400 ][@scale < 600] { mark-size:60;}[atrib='xyz'][@scale < 400] { mark-size:120;}It´s hard to guess the correct icon size compared to scale. (Trial and error).
Questions:
أكثر...
:mark{ mark: url("file:./icon.svg"); mark-mime: "image/svg+xml";}[atrib='xyz'][@scale > 600 ][@scale < 1000] { mark-size:10;}[atrib='xyz'][@scale > 400 ][@scale < 600] { mark-size:60;}[atrib='xyz'][@scale < 400] { mark-size:120;}It´s hard to guess the correct icon size compared to scale. (Trial and error).
Questions:
- is there a best practice like "between scale 600 and 1000 marksize X is appropriated" (or a formular?)
- which unit is "mark-size"?pt, px,em?
أكثر...