Opened 13 years ago
Closed 13 years ago
#472 closed defect (fixed)
Values are not consistent while more than one ViewOptions widgets exists
Reported by: | liuar | Owned by: | liuar |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Widgets | Version: | 2.0 |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | 1363177.01 | Operating System: | All |
state: | Committed |
Attachments (1)
Change History (5)
comment:1 by , 13 years ago
by , 13 years ago
Attachment: | viewoptions.patch added |
---|
comment:2 by , 13 years ago
state: | New → Review |
---|
Hello Mike,
Could you please review the attached patch?
-Arthur
comment:3 by , 13 years ago
Arthur,
That looks like the correct way to fix this issue. Assuming it fixes it please go ahead an commit.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
state: | Review → Committed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
To fix this issue, I register a parameter "Unit" in ViewOptions which makes this widget could react to the map unit change event.
The setParameter function works like an event handler to update the value of current unit according to map's unit.