Opened 14 years ago

Closed 14 years ago

#1486 closed defect (fixed)

Modify getselectedfeatures to return an envelope for each feature instead of a point

Reported by: jng Owned by:
Priority: high Milestone: 2.3
Component: AJAX Viewer Version: 2.2.0
Severity: trivial Keywords:
Cc: External ID:

Description

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

Change History (1)

comment:1 by jng, 14 years ago

Resolution: fixed
Status: newclosed

Fixed trunk (r5916, r5917, r5918, r5919) Fixed 2.2 (r5920)

Note: See TracTickets for help on using tickets.