[mapguide-trac] #674: Additional RuntimeMap functions and overloaded members

MapGuide Open Source trac_mapguide at osgeo.org
Sat Aug 23 11:58:05 EDT 2008


#674: Additional RuntimeMap functions and overloaded members
---------------------------+------------------------------------------------
   Reporter:  MaksimS      |       Owner:  ksgeograf
       Type:  enhancement  |      Status:  new      
   Priority:  low          |   Milestone:           
  Component:  Maestro      |     Version:  2.0.1    
   Severity:  trivial      |    Keywords:           
External_id:               |  
---------------------------+------------------------------------------------
 It would be nice if RuntimeMap type had two additional rendering
 functions:

  1. RuntimeMap.RenderToStream - it's parameters and functionality would
 reflect what HttpServerConnection.RenderRuntimeMap() exposes presently
  2. RuntimeMap.RenderToImage - similar to above, just returning
 instantiated System.Drawing.Image object out of render stream. It's
 somehow logical since said stream represents nothing more than a raster
 image.

 As for overloaded parameters, both rendering functions should use:

   1. x, y, scale, width, height and dpi parameters (currently implemented,
 but "Clip feature geometry" param is missing).
   2. given extents (x1,y1,x2,y2) - not implemented but should be there for
 API consistency. There can be also overloaded variant with Envelope type
 instead of x/y pairs.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/674>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list