Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#356 closed defect (fixed)

Measure widget doesn't show distances less than 1.0 measurement units

Reported by: chrisclaydon Owned by: madair
Priority: P1 Milestone:
Component: Widgets Version: SVN
Severity: Major Keywords:
Cc: Browser: All
External ID: 1298699 Operating System: All
state: Approved

Description

The measure widget is currently coded in such a way that it does not show lengths for segments shorter than one full measurement unit. If the units are meters, this is usually not a problem, but if the units are set to miles or degrees only very large segments will be processed.

I believe the intended purpose of the code is to eliminate processing of segments that are very short in screen (pixel) units. I will attach a patch to this ticket for review that makes the necessary changes.

Attachments (1)

MeasureWidgetPatch.patch (3.1 KB ) - added by chrisclaydon 14 years ago.

Download all attachments as: .zip

Change History (5)

by chrisclaydon, 14 years ago

Attachment: MeasureWidgetPatch.patch added

comment:1 by chrisclaydon, 14 years ago

External ID: 1298699

comment:2 by pagameba, 14 years ago

state: NewApproved

the patch looks good, please commit it.

comment:3 by chrisclaydon, 14 years ago

Resolution: fixed
Status: newclosed

Fixed by submission to trunk:

http://trac.osgeo.org/fusion/changeset/2043

comment:4 by madair, 14 years ago

Milestone: 2.1

Milestone 2.1 deleted

Note: See TracTickets for help on using tickets.