[mapguide-trac] #851: Implement multiple selection in the basic
weblayout
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Feb 12 06:22:59 EST 2009
#851: Implement multiple selection in the basic weblayout
---------------------------+------------------------------------------------
Reporter: msuing | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 2.1
Component: AJAX Viewer | Version: 2.0.1
Severity: major | Keywords: multiple selection
External_id: |
---------------------------+------------------------------------------------
The basic weblayout is still faster than the flexible weblayout but its
main weakness is the lack of multiple selection.[[BR]]
Since the information is in the XML selection set, it could be possible to
parse the selection and display everything in the property panel.[[BR]]
I have already performed a "derivation" of the standard behaviour by
modifying :[[BR]]
1. ExecuteRectangleTool() in ajaxmappane.templ to enable a multiple
selection on simple click (point) and enlarge the selection buffer around
the point[[BR]]
pt1 = ScreenToMapUnits(x1-5, y1-5);[[BR]]
pt2 = ScreenToMapUnits(x1+5, y1+5);[[BR]]
RequestRectSelection(pt1.X, pt1.Y, pt2.X, pt2.Y,
appending);[[BR]]
//pt1 = ScreenToMapUnits(x1-2, y1-2);[[BR]]
//pt2 = ScreenToMapUnits(x1+2, y1+2);[[BR]]
//RequestPointSelection(pt1.X, pt1.Y, pt2.X, pt2.Y,
appending);[[BR]]
2. SetProperties(count, properties) in propertyctrl.templ to open a new
window with the multiple selection in the task pane.[[BR]]
It could be really interesting to add 2 lists for selected layers and
selected objets, and to display everything like in the flexible weblayout
(why not using the php code of fusion ?).
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/851>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list