Opened 16 years ago

Closed 15 years ago

#120 closed enhancement (fixed)

allow selection to be rendered as separate layer

Reported by: madair Owned by: madair
Priority: P2 Milestone: 2.0
Component: MapGuide Version: SVN
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

render selections in a separate layer using the GETDYNAMICOVERLAY mapagent call.

Change History (11)

comment:1 by madair, 16 years ago

(In [1501]) re #120: optionally render selections in a separate layer and allow setting the color and format for selections

comment:2 by madair, 16 years ago

Status: newassigned
Type: defectenhancement

this also allows setting the color for selections.

Note that currently, the baselayer is still rendered with GETMAPIMAGE which includes the selections as well. The current OL implementation of MapGuide layer type uses the GETMAPIMAGE mapagent call for baselayers.

I think ideally in the long run a much better approach would be for Selection.php to return selected feature geometries which would get rendered in a vector layer in the browser using OL vector drawing code. This wold allow client-side feature manipulation (e.g. highlight effects on hover).

comment:3 by madair, 16 years ago

Milestone: 1.22.0

comment:4 by madair, 16 years ago

(In [1574]) re #120: updated OpenLayers at v2.7 and custom build config file; includes a patch for the OL MapGuide layer to optionally render layers using GETDYNAMICOVERLAY calls.

comment:5 by pagameba, 16 years ago

(In [1575]) re #120, make selectionasoverlay the default case and turn it off if explicitly requested in the app def.

comment:6 by madair, 16 years ago

(In [1583]) re #120: patched version of OL which uses asynchronous calls for GETVISIBLEMAPEXTENT and supports the useOverlay flag

comment:7 by madair, 15 years ago

(In [1625]) re #120: update of OL Mapguide layer to use the new GETDYNAMICOVERLAY API call from MapGuide

comment:8 by madair, 15 years ago

(In [1626]) re #120: remove siteVersion check until it can be tested more

comment:9 by madair, 15 years ago

(In [1627]) re #120: set useOverlay to default to true; prevent redrawing the map after a selection

comment:10 by madair, 15 years ago

(In [1658]) re #120: for backwards compatibility, set useOverlay to false for MG installs prior to v2.1.x; move the PHP siteVersion element to LoadMap because opening a template from studio by-passes the CreateSesssion.php call

comment:11 by madair, 15 years ago

Resolution: fixed
Status: assignedclosed

closing, this was implemented months ago. New issues with MapGuide selections can be entered as new tickets

Note: See TracTickets for help on using tickets.