[OpenMap Users] Click to start/end drawing an OMLine?

From: Renton Ian <ian.renton_at_uk.atlas-elektronik.com>
Date: Mon, 10 Sep 2012 14:45:08 +0100

Hi everyone,

Our software (based on OpenMap) allows the user to add objects to their map using a DrawingTool. Previous versions of our software only offered objects that were variations on OMPoint and OMPoly (as a PolyLine), for which the drawing tool behaviour is "click where you want a point".

Our new version includes the ability to draw things based on a single line, for which we have used the OMLine drawing tool. This tool's behaviour is "click and hold the start point, then drag and release at the end point".

Usability testers have found this behaviour quite unexpected, and have struggled to draw the line precisely on a laptop touchpad.

Is there any way built into OpenMap to draw an OMLine using one click at the start and one at the end (or alternatively, to constrain a PolyLine so that it has exactly two points and drawing automatically finishes after clicking the second point)?

If not, could anyone offer any advice as to where in the OpenMap drawing system I would have to start modifying/subclassing in order to achieve this?

Thanks,

Ian

-- 
Ian Renton
UX / Software Engineer
ATLAS ELEKTRONIK UK
Atlas House, Dorset Green Tech. Park, DT2 8ZB, U.K.
Tel: +44 (0) 1305 212341
The information contained within this e-mail and any files attached to this e-mail are private and in addition may include commercially sensitive information. The contents of this e-mail are for the intended recipient only and therefore if you wish to disclose the information contained within this e-mail or attached files, please contact the sender prior to any such disclosure.
If you are not the intended recipient, any disclosure, copying or distribution is prohibited. Please also contact the sender and inform them of the error and delete the e-mail, including any attached files from your system. 
Atlas Elektronik UK Limited Registered Office Meadows Road, Queensway Meadows, Newport, South Wales NP19 4SS, UK.  Company No. 05582639
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Sep 10 2012 - 09:48:56 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:10 EDT