Changes between Version 9 and Version 10 of MapGuideRfc108


Ignore:
Timestamp:
Aug 5, 2010, 10:57:47 PM (14 years ago)
Author:
hubu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc108

    v9 v10  
    3232== Proposed Solution ==
    3333
    34 1.      Create a new resource type that contains information about watermark. This resource is used to define 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. The image for watermark will be saved as DWF file in resource data, just like the image for symbol library.
     341.      Use the symboldefinition to define the content of watermark. The watermark supports text and image.
    3535
    36 2.      User can use watermark by referencing it 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.
     362.      Create a new resource type  for watermark. This resource reference the symboldefinition and define the position, rotation and transparency of watermark. Add a new XSD file to define the watermark, and the !MdfModel and !MdfParser are needed to updated about this change.
    3737
    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.
     383.      Support inlining the watermark in mapdefinition and layerdefinition.
    3939
    40 4.      For WMS publish, when a map definition is published, the watermark's resource ID 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.
     404.      User can use watermark by referencing it from map and layer. The mapdefinition and the layerdefinition will be extented to reference the optional watermark resource. The layerdefinition only reference one watermark. And a Map definition can reference multiple watermark resources. In the !MgMap class, we add a "!WatermarkList" field.
     41
     425.      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.
    4143
    4244== Implications ==
    4345
    44 MapGuide Mastro should update to add some UI to define watermark resource and add watermark into a Map.
     46MapGuide Mastro should update to add watermark into a Map and Layer.
    4547
    4648== Test Plan ==