Changes between Version 10 and Version 11 of MapGuideRfc38
- Timestamp:
- 10/17/07 12:57:03 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc38
v10 v11 31 31 == Proposed Solution == 32 32 33 Add an additionalparameter 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:33 Add the 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 34 35 35 {{{ 36 RenderSelection = 1 37 RenderLayers = 2 38 KeepSelection = 4 36 RenderSelection = 1 // Renders the selected feature(s) 37 RenderLayers = 2 // Renders the features on the map 38 KeepSelection = 4 // Renders the selected feature(s) even if they are outside the current scale 39 39 }}} 40 40 41 Add an additional signature for !MgRenderingService.!RenderDynamicMapOverlay that includes the behavior parameter: 41 Examples: 42 * !RenderSelection | !RenderLayers will render selection and layers within the current scale 43 * !RenderSelection | !KeepSelection will render only the selection regardless of scale 44 45 Add a SELECTIONCOLOR parameter to the existing GETDYNAMICMAPOVERLAYIMAGE. The color may be specified as an integer or hex string. 46 47 48 For the Web Extensions API add an additional signature for !MgRenderingService.!RenderDynamicMapOverlay that includes an !MgRenderingOptions class: 42 49 43 50 {{{ 44 MgByteReader* RenderDynamicOverlay(MgMap* map, MgSelection* selection, CREFSTRING format, INT32 behavior); 51 MgByteReader* RenderDynamicOverlay(MgMap* map, MgSelection* selection, MgRenderingOptions* options) 52 CREFSTRING format, INT32 behavior); 53 }}} 54 55 !MgRenderingOptions will contain information on the image format, the behavior, and the selection color 56 57 {{{ 58 class MgRenderingOptions 59 { 60 MgRenderingOptions(CREFSTRING format, INT32 behavior, MgColor* selectionColor); 61 STRING GetImageFormat(); 62 INT32 GetBehavior(); 63 MgColor* GetSelectionColor(); 64 } 45 65 }}} 46 66