[mapguide-users] MgRenderingService RenderMap problem

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Mar 2 06:43:53 EST 2009


Looking at:
http://mapguide.osgeo.net/files/mapguide/docs/webapi/de/dbd/class_mg_rendering_service_7767628fe456bfd90e9010a19ed83e04.html#7767628fe456bfd90e9010a19ed83e04

The most likely cause is that the bounds you supply are incorrect, eg. 
pointing to an area where there are no features.
Other than that, are there error messages in the error.log file?

Regards, Kenneth Skovhede, GEOGRAF A/S



Satu skrev:
> Hi, I need a little help, in the begining...
>
> Is this the right order to create a rendered map without a viewer?
>
> 1) Init Web API,
> 2) Open site,
> 3) Create resources: MgResourceService, MgRenderingService,
> MgMappingService,
> 4) Set the map library to MgResourceIdentifier,
> 5) Create map, with MgMap,
> 6) ?
>
> After these steps I have a map with 12 layers. They have a real name, and
> all layers are visible.
>
> How can I create a rendered map, with MgRenderingService?
>
> Because, when I try, I got an empty box as rendered result, with my
> background color. I don't like to use the viewer, the map need to generate
> only in raster format.
>
> (I'm using MapGuide 2009 and Visual Studio 2008.)
>   


More information about the mapguide-users mailing list