Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#4574 closed defect (worksforme)

scale_max and scale_min in style rule do not work

Reported by: AM909 Owned by: team
Priority: normal Milestone:
Component: External mappaint style Version: latest
Keywords: scale Cc: AM909

Description

If I understand it correctly, in a style rule, scale_max is supposed to set the max scale at which a particular rule will be used.

I set a custom icon for the highway=turning_circle rule, and set scale_max to 300 to prevent it from rendering at zoom levels more than 300m. However, it still renders at all zoom levels. I'm sure the rule is being applied, because it is rendering my custom icon.

Similarly, if I set scale_min to 100, there is still no change in behavior - the icon renders at all zoom levels.

Attachments (0)

Change History (4)

comment:1 by AM909, 15 years ago

Cc: AM909 added

comment:2 by stoecker, 15 years ago

Resolution: worksforme
Status: newclosed

It does work, but the option to allow zoom level depending rendering is turned of by default.

comment:3 by anonymous, 15 years ago

How do I turn it on?

comment:4 by bastiK, 15 years ago

Set mappaint.zoomLevelDisplay=true in the advanced preferences.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.