Changes between Version 15 and Version 16 of MapGuideRfc50


Ignore:
Timestamp:
07/10/08 08:57:09 (16 years ago)
Author:
brucedechant
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc50

    v15 v16  
    99 
    1010||RFC Template Version||(1.0)||
    11 ||Submission Date||(June 27, 2008)||
    12 ||Last Modified||(Bruce Dechant) [[Timestamp]]||
    13 ||Author||(Aleck Sun)||
     11||Submission Date||June 27, 2008||
     12||Last Modified||Bruce Dechant [[Timestamp]]||
     13||Author||Aleck Sun||
    1414||RFC Status||Draft||
    1515||Implementation Status||pending||
    16 ||Proposed Milestone||(2.1)||
     16||Proposed Milestone||2.1||
    1717||Assigned PSC guide(s)||Bruce Dechant||
    1818||'''Voting History'''||(vote date)||
     
    2424== Overview ==
    2525
    26 This section brefly describes the problem set, and the proposed solution in general terms.  It should be deliberately short, a couple of sentences or so.
     26Change the schema of LayerDefinition so that users can hide the styles that they don’t want to be displayed in the legend.
    2727
    2828== Motivation ==
    29 Some feature class can contain multiple feature types. For example, in SDF, a feature class can contain point, line, and polygon feature types.
    30 The current !MapGuide displays legend for all geometry types regardless whether there are features of that geometry types or not. Currently there is a workaround that the user can delete the styles that he doesn't want to show in the legend. However, in this way, when the user wants to show them in the legend again, he may forget which one he deleted.
    31 We would like to make it more flexible for the legend items to be shown. All the styles should be persisted and the user should be able to decide whether a style is going to be shown.
    3229
     30Some feature classes can contain multiple feature types. For example, in SDF, a feature class can contain point, line, and polygon feature types.
     31The current !MapGuide legend displays all the geometry types regardless of whether there are features of that geometry type or not. Currently, there is a workaround that the user can delete the styles that they don't want to show in the legend. However, in this way, when the user wants to show them in the legend again, they may have forgetten which one was deleted. We would like to make it more flexible for the legend items to be shown. All the styles should be persisted and the user should be able to decide whether a style is going to be shown or not.
    3332
    3433== Proposed Solution ==
    3534
    36 An additional tag is going to be added to the schema of !LayerDefinition. We will add a <!ShowInLegend> tag for !LineTypeStyleType, !AreaTypeStyleType and !PointTypeStyleType as following. And the version of the !LayerDefinition from 1.2 to 1.3, i.e. !LayerDefinition-1.3.0.xsd.
     35An additional tag is going to be added to the schema of !LayerDefinition. We will add a <!ShowInLegend> tag for !LineTypeStyleType, !AreaTypeStyleType and !PointTypeStyleType as following.
     36The version of the !LayerDefinition will change from 1.2 to 1.3, i.e. !LayerDefinition-1.3.0.xsd.
    3737
    3838!LineTypeStyle:
     
    9999</xs:complexType>
    100100}}}
    101 And the corresponding module will also be modified to reflect in UI the schema change.
    102101
    103102== Implications ==
    104103
    105 Existing schema documentation will be updated.
     104The existing schema documentation will be updated.
    106105
    107106== Test Plan ==