Opened 12 years ago

Closed 12 years ago

#374 closed enhancement (fixed)

MeasureTool, partialmeasure on mousestop, use 'immediate'

Reported by: adube Owned by:
Priority: major Milestone: 1.2.0
Component: widgets Version: trunk
Keywords: Cc:

Description

Current behavior

Currently, the MeasureTool widget do partial measures on single click.

Issue

If you want to measure a specific size, you can't unless you take a guess.

Solution

It would be nice to have an option to enable partial measures on mouse stop.

Change History (4)

comment:1 by adube, 12 years ago

Summary: MeasureTool, partialmeasure on mousestopMeasureTool, partialmeasure on mousestop, use 'immediate'

Well, the OpenLayers.Control.Measure already have an "immediate" property exactly for that.

comment:2 by adube, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r1231, featuring :

  • new 'immediate' option used to set the according OpenLayers.Control.Measure property
  • defaults to 'true', which change the default widget behavior, but since it's commonly wished to do so it's okay to do that.

Done.

comment:3 by adube, 12 years ago

Resolution: fixed
Status: closedreopened

When using 'immediate' option, when closing the tooltip, it reappears immediatly. It sometimes become in the way.

comment:4 by adube, 12 years ago

Resolution: fixed
Status: reopenedclosed

r1233, featuring : bigger offset for partial measure tooltip. It's less in the way like that.

Note: See TracTickets for help on using tickets.