Changes between Version 10 and Version 11 of MapGuideRfc9


Ignore:
Timestamp:
Mar 28, 2007, 1:30:46 PM (17 years ago)
Author:
stevedang
Comment:

Adding a Save method to MgMap (for consistency) so that it can be used with the new Open and Create methods.

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc9

    v10 v11  
    4040$featureClass = $layer->GetFeatureClassName();
    4141
    42 $featureService = $this->site->CreateService(MgServiceType::FeatureService);
    43 
    4442$reader = $featureService->SelectFeatures($resId, $featureClass, null);
    4543}}}
     
    6866/// </summary>                                                                                                     
    6967/// <returns>                                                                                                       
    70 /// Returns an MgClassDefinition instance for the specified / class name.                                           
     68/// Returns an MgClassDefinition instance for the feature class of the layer.                                           
    7169/// </returns>                                                                                                     
    7270virtual MgClassDefinition* GetClassDefinition();                                                                   
     
    143141/// <param name="mapName">                                                                                         
    144142/// A string that specifies a name for the map.
    145 /// allocate service instances.                                                                     
    146143/// </param>                                                                                                       
    147144virtual void Create(MgResourceIdentifier* mapDefinition, CREFSTRING mapName);
     
    152149/// <param name="mapName">                                                                                         
    153150/// A string that specifies the name of the map to load.
    154 /// allocate service instances.                                                                     
    155151/// </param>                                                                                                       
    156152virtual void Open(CREFSTRING mapName);
    157153
     154/// \brief
     155/// Saves the Map.
     156///
     157/// \return
     158/// Returns nothing.
     159///
     160void Save();
    158161}}}
    159162
     
    168171
    169172virtual void Open(MgResourceService* resourceService, CREFSTRING mapName);
     173
     174void Save(MgResourceService* resourceService);
    170175}}}
    171176