Changes between Version 5 and Version 6 of MapGuideRfc108
- Timestamp:
- 07/30/10 00:51:45 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc108
v5 v6 32 32 == Proposed Solution == 33 33 34 1. Create a new resource type that contains information about watermark. This resource is used to define the what element to use(image or text) and where/how to place the watermark. 34 1. Create a new resource type that contains information about watermark. This resource is used to define the what element to use(image or text) and where/how to place the watermark. Add a new XSD file to define the watermark, and the MdfModel and MdfParser are needed to updated about this change. We’ll use the symbol library in MapGuide server to store the images for watermark. 35 35 36 2. User can use watermark by defining reference from map. The Map definition will be extented to reference the optional watermark resource. And a Map definition can reference multiple watermark resources. 36 2. User can use watermark by defining reference from map. The Map definition will be extented to reference the optional watermark resource. And a Map definition can reference multiple watermark resources. In the MgMap class, we add a "WatermarkList" field. 37 37 38 3. The watermark of WMS will automatically be the same as the published map.38 3. Change the render logic for map. When all the layers have been rendered and the renderer hasn’t output the result, render the watermark into the result. 39 39 40 4. Change the render logic for map. When all the layers have been rendered and the renderer hasn’t output the result, render the watermark into the result.40 4. For WMS publish, when a map definition is published, the watermark will be added to each layer definition’s header. When the temporary map is created for WMS, it will read to see if any layer has watermark in its definition’s header. If it finds one, it will add the watermark into its "WatermarkList" field. 41 41 42 42 == Implications == 43 43 44 MapGuide Mastro should update to support watermark.44 MapGuide Mastro should update to add some UI to define watermark resource and add watermark into a Map. 45 45 46 46 == Test Plan == 47 47 48 How the proposed change will be tested, if applicable. New unit tests should be detailed here??? 48 Build/Run on Windows/Linux 49 49 50 50 == Funding / Resources == 51 51 52 This section will confirm that the proposed feature has enough support to proceed. This would typically mean that the entity making the changes would put forward the RFC, but a non-developer could act as an RFC author if they are sure they have the funding to cover the change. 52 Supplied by Autodesk