Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 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 Changed 10 years ago by AM909

Cc: AM909 added

comment:2 Changed 10 years ago by stoecker

Resolution: worksforme
Status: newclosed

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

comment:3 Changed 10 years ago by anonymous

How do I turn it on?

comment:4 Changed 10 years ago by bastiK

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.