Changes between Version 1 and Version 2 of MapGuideRfc148


Ignore:
Timestamp:
Oct 27, 2014, 10:27:26 PM (9 years ago)
Author:
jng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc148

    v1 v2  
    3232== Proposed Solution ==
    3333
    34 Add a new overload of RenderMap that accepts a selection color to MgRenderingService. For simplicity of implementation, we've based this new overload on the existing overload method with the most parameters.
     34Add 2 new overloads of RenderMap that accepts a selection color to MgRenderingService.
     35
     36The first overload is based on the existing overload with the most parameters.
     37
     38The other overload is to support invocation from the mapagent.
    3539
    3640{{{
     
    8892        bool bKeepSelection,
    8993        MgColor* selectionColor) = 0;
     94
     95    /////////////////////////////////////////////////////////////////
     96    /// \brief
     97    /// Renders the specified MgMap to the requested image format.
     98    ///
     99    /// \param map
     100    /// Input
     101    /// map object containing current state of map.
     102    /// \param selection
     103    /// Input
     104    /// map feature selection. Specifies the selected features on the map
     105    /// \param format
     106    /// Input
     107    /// image format. Defines the format of the resulting image
     108    /// \param bKeepSelection
     109    /// Input
     110    /// true if you want to keep the selection
     111    /// \param bClip
     112    /// Input
     113    /// true if you want to clip feature geometry
     114    /// \param selectionColor
     115    /// Input
     116    /// The color to use for rendered selections
     117    ///
     118    /// \return
     119    /// A byte reader containing the rendered image
     120    ///
     121    virtual MgByteReader* RenderMap(
     122        MgMap* map,
     123        MgSelection* selection,
     124        CREFSTRING format,
     125        bool bKeepSelection,
     126        bool bClip,
     127        MgColor* selectionColor) = 0;
    90128};
    91129}}}