Changes between Version 1 and Version 2 of MapGuideRfc38
- Timestamp:
- 10/02/07 15:40:41 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc38
v1 v2 1 = !MapGuide RFC 38 - GETDYNAMICMAPOVERLAY Enhancements for Selection =1 = !MapGuide RFC 38 - GETDYNAMICMAPOVERLAYIMAGE Enhancements for Selection = 2 2 3 3 This page contains an change request (RFC) for the !MapGuide Open Source project. … … 23 23 == Overview == 24 24 25 Enhance the GETDYNAMICMAPOVERLAY HTTP API to allow the selection and overlay images to be rendered as separate images.25 Enhance the GETDYNAMICMAPOVERLAYIMAGE HTTP API to allow the selection and overlay images to be rendered as separate images. 26 26 27 27 == Motivation == … … 31 31 == Proposed Solution == 32 32 33 Add an additional parameter BEHAVIOR to the existing GETDYNAMICMAPOVERLAYIMAGE. Increase the VERSION to 2.0.0 and deprecate the existing KEEPSELECTION parameter for the new version of the API. BEHAVIOR is a bitmask with the following values: 34 35 {{{ 36 RenderSelection = 1 37 RenderLayers = 2 38 KeepSelection = 4 39 }} 40 41 Add an additional signature for !MgRenderingService.!RenderDynamicMapOverlay that includes the behavior parameter: 42 43 {{{ 44 MgByteReader* RenderDynamicOverlay(MgMap* map, MgSelection* selection, CREFSTRING format, INT32 behavior); 45 }}} 46 47 Update the existing !WebLayout based ajax viewer to use the new API. This will have no performance benefit since the viewer will call the new API specifying both !RenderSelection and !RenderLayers. 33 48 34 49 == Implications == 35 50 36 51 Since this is a new version of the HTTP request and a new signature for RenderDynamicMapOverlay, compatibility with existing clients/scripts is maintained. The behavior parameter encapsulates the current "keepSelection" functionality so the existing RenderDynamicOverlay methods could be deprecated in a future release. 37 52 38 53 == Test Plan == 39 54 40 55 Ensure that existing clients continue to function as expected. Verify that the new HTTP API renders only the selection or layers, or both depending on the behavior setting. 41 56 42 57 == Funding/Resources == 43 58 44 Autodesk 59 Autodesk. Selection improvements for the new "Fusion" based viewer are TBD. 60