Changes between Version 14 and Version 15 of MapGuideRfc50


Ignore:
Timestamp:
Jul 10, 2008, 8:50:45 AM (16 years ago)
Author:
brucedechant
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc50

    v14 v15  
    1414||RFC Status||Draft||
    1515||Implementation Status||pending||
    16 ||Proposed Milestone||(e.g. 1.1, 1.3)||
     16||Proposed Milestone||(2.1)||
    1717||Assigned PSC guide(s)||Bruce Dechant||
    1818||'''Voting History'''||(vote date)||
     
    2828== Motivation ==
    2929Some 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.
     30The 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.
     31We 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.
    3232
    3333
    3434== Proposed Solution ==
    3535
    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:
     36An 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{{{
    3840<xs:complexType name="LineTypeStyleType">
    3941    <xs:annotation>
     
    5052    </xs:sequence>
    5153</xs:complexType>
     54}}}
    5255
    53 
    54 PointTypeStyle:
     56!PointTypeStyle:
     57{{{
    5558<xs:complexType name="PointTypeStyleType">
    5659    <xs:annotation>
     
    7780    </xs:sequence>
    7881</xs:complexType>
     82}}}
    7983
    80 AreaTypeStyle:
     84!AreaTypeStyle:
     85{{{
    8186<xs:complexType name="AreaTypeStyleType">
    8287    <xs:annotation>
     
    9398    </xs:sequence>
    9499</xs:complexType>
    95 
     100}}}
    96101And the corresponding module will also be modified to reflect in UI the schema change.
    97102