Changes between Version 14 and Version 15 of MapGuideRfc50
- Timestamp:
- 07/10/08 08:50:45 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc50
v14 v15 14 14 ||RFC Status||Draft|| 15 15 ||Implementation Status||pending|| 16 ||Proposed Milestone||( e.g. 1.1, 1.3)||16 ||Proposed Milestone||(2.1)|| 17 17 ||Assigned PSC guide(s)||Bruce Dechant|| 18 18 ||'''Voting History'''||(vote date)|| … … 28 28 == Motivation == 29 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 ¡¯d 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.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 32 33 33 34 34 == Proposed Solution == 35 35 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 37 LineTypeStyle: 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. 37 38 !LineTypeStyle: 39 {{{ 38 40 <xs:complexType name="LineTypeStyleType"> 39 41 <xs:annotation> … … 50 52 </xs:sequence> 51 53 </xs:complexType> 54 }}} 52 55 53 54 PointTypeStyle: 56 !PointTypeStyle: 57 {{{ 55 58 <xs:complexType name="PointTypeStyleType"> 56 59 <xs:annotation> … … 77 80 </xs:sequence> 78 81 </xs:complexType> 82 }}} 79 83 80 AreaTypeStyle: 84 !AreaTypeStyle: 85 {{{ 81 86 <xs:complexType name="AreaTypeStyleType"> 82 87 <xs:annotation> … … 93 98 </xs:sequence> 94 99 </xs:complexType> 95 100 }}} 96 101 And the corresponding module will also be modified to reflect in UI the schema change. 97 102