Changes between Version 15 and Version 16 of MapGuideRfc50
- Timestamp:
- 07/10/08 08:57:09 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc50
v15 v16 9 9 10 10 ||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|| 14 14 ||RFC Status||Draft|| 15 15 ||Implementation Status||pending|| 16 ||Proposed Milestone|| (2.1)||16 ||Proposed Milestone||2.1|| 17 17 ||Assigned PSC guide(s)||Bruce Dechant|| 18 18 ||'''Voting History'''||(vote date)|| … … 24 24 == Overview == 25 25 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.26 Change the schema of LayerDefinition so that users can hide the styles that they don’t want to be displayed in the legend. 27 27 28 28 == 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.32 29 30 Some feature classes can contain multiple feature types. For example, in SDF, a feature class can contain point, line, and polygon feature types. 31 The 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. 33 32 34 33 == Proposed Solution == 35 34 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. 35 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. 36 The version of the !LayerDefinition will change from 1.2 to 1.3, i.e. !LayerDefinition-1.3.0.xsd. 37 37 38 38 !LineTypeStyle: … … 99 99 </xs:complexType> 100 100 }}} 101 And the corresponding module will also be modified to reflect in UI the schema change.102 101 103 102 == Implications == 104 103 105 Existing schema documentation will be updated.104 The existing schema documentation will be updated. 106 105 107 106 == Test Plan ==