[mapguide-trac] #1486: Modify getselectedfeatures to return an
envelope for each feature instead of a point
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Oct 21 11:13:48 EDT 2010
#1486: Modify getselectedfeatures to return an envelope for each feature instead
of a point
---------------------------+------------------------------------------------
Reporter: jng | Owner:
Type: defect | Status: new
Priority: high | Milestone: 2.3
Component: AJAX Viewer | Version: 2.2.0
Severity: trivial | Keywords:
External_id: |
---------------------------+------------------------------------------------
The getselectedfeatures script should change its JSON response to return
an envelope instead of a point.
By returning an envelope we can harness the existing zoom to selection
code already in the viewer, and thus instead of zooming to the centroid of
a particular feature at a pre-defined zoom level (which may not be
appropriate) it will always zoom to the full extents of that feature,
which is our desired result
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1486>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list