[mapguide-trac] #1637: Show Current Selection of a Multiple
Feature Selection
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Mar 22 03:01:48 EDT 2011
#1637: Show Current Selection of a Multiple Feature Selection
---------------------------+------------------------------------------------
Reporter: steveg | Owner:
Type: enhancement | Status: new
Priority: low | Milestone:
Component: General | Version: 2.2.0
Severity: trivial | Keywords: selection
External_id: |
---------------------------+------------------------------------------------
Comment(by jng):
The ideal solution (whatever that may be. I haven't put much thought into
it) is one that requires no roundtrips back to the MapGuide server for
extra information. Whatever is returned by
getselectedfeatures.aspx/php.jsp should provide sufficient information to
render sub-selected features.
Keep in mind that the selection that you see in the viewer is a dumb image
returned by the MapGuide Server. To change the selection color for the
subselected feature in the naively classical sense, would require another
roundtrip to the MapGuide Server for the new selection image. This is
woefully inefficient.
So in terms of showing a sub-selected feature, the best bet is to put a
client-side marker (eg. A css-styled div) of some sort on top of the
feature in question, that moves when panning and zooming and is cleared
when either the selection is cleared or a different selected feature is
sub-selected.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1637#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list