Changes between Version 26 and Version 27 of MapGuideRfc67


Ignore:
Timestamp:
Jun 19, 2009, 1:38:06 PM (15 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc67

    v26 v27  
    210210''PRECONDITIONS''
    211211
    212     None
     212    * None
    213213
    214214''STEPS''
    215215
    216     Platform client gets the product-specific implementation of resource service.[[BR]]
    217     Client creates a new data store and builds a feature source definition referencing the created data store.[[BR]]
    218     Client adds the feature source definition to resource service by calling !SetResource(fsId, fsXml). This data store will contain the print layout data that will be used to draw the geometry and stylize various aspects of the particular type of print layout element.[[BR]]
    219     If the client chooses to use an existing feature source connection, then the above step can be skipped.[[BR]]
    220     Client builds a layer definition, if applicable (for !MapViewport resources, this step is not necessary) that references the feature source definition and adds it to Resource Service by calling !SetResource.[[BR]]
     216    * Platform client gets the product-specific implementation of resource service.[[BR]]
     217    * Client creates a new data store and builds a feature source definition referencing the created data store.[[BR]]
     218    * Client adds the feature source definition to resource service by calling !SetResource(fsId, fsXml). This data store will contain the print layout data that will be used to draw the geometry and stylize various aspects of the particular type of print layout element.[[BR]]
     219    * If the client chooses to use an existing feature source connection, then the above step can be skipped.[[BR]]
     220    * Client builds a layer definition, if applicable (for !MapViewport resources, this step is not necessary) that references the feature source definition and adds it to Resource Service by calling !SetResource.[[BR]]
    221221
    222222==== Adding a print layout element ====
     
    230230''PRECONDITIONS''
    231231
    232     Adding required data for map viewport creation use case
     232    * Adding required data for map viewport creation use case
    233233
    234234''STEPS''
    235235
    236     Client builds an Xml for a particular type of print layout element.  In this Xml, he specifies the Data.!ResourceId property to point to the feature source definition and the Stylization.!ResourceId property to point to the layer definition created in the previous steps.  He also sets the fully qualified feature class name of the print layout element data in Data.!FeatureClass property.[[BR]]
    237     Client adds this Xml to Resource Service by calling !SetResource(!printLayoutElementResId, !printLayoutElementXml)[[BR]]
    238     The Resource Service implementation creates an instance of !PrintLayoutResourcesOwner if not already created and adds it to a named dictionary.[[BR]]
    239     The Resource Service calls !AddResource on !MapPrintLayoutResourcesOwner object.[[BR]]
    240     !PrintLayoutResourcesOwner determines the type of the print layout element that is being added and creates an runtime representation object for the resource. In case of !MapViewport resources, this would be !MapViewportResource, inherited from !MapResource class.[[BR]]
    241     !PrintLayoutResourcesOwner then adds this runtime object to Resource Manager and also subscribes to Resource Manager events, if not already done.[[BR]]
     236    * Client builds an Xml for a particular type of print layout element.  In this Xml, he specifies the Data.!ResourceId property to point to the feature source definition and the Stylization.!ResourceId property to point to the layer definition created in the previous steps.  He also sets the fully qualified feature class name of the print layout element data in Data.!FeatureClass property.[[BR]]
     237    * Client adds this Xml to Resource Service by calling !SetResource(!printLayoutElementResId, !printLayoutElementXml)[[BR]]
     238    * The Resource Service implementation creates an instance of !PrintLayoutResourcesOwner if not already created and adds it to a named dictionary.[[BR]]
     239    * The Resource Service calls !AddResource on !MapPrintLayoutResourcesOwner object.[[BR]]
     240    * !PrintLayoutResourcesOwner determines the type of the print layout element that is being added and creates an runtime representation object for the resource. In case of !MapViewport resources, this would be !MapViewportResource, inherited from !MapResource class.[[BR]]
     241    * !PrintLayoutResourcesOwner then adds this runtime object to Resource Manager and also subscribes to Resource Manager events, if not already done.[[BR]]
    242242
    243243