[mapguide-users] MgRenderingService and Fusion Viewer

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Fri Oct 30 09:32:31 EDT 2009


After drawing with OL, you get vector data on top of MapGuide image data.
You need to create a temporary datasource and layer in MapGuide, and 
insert the
geometry objects into MapGuide.

You can call .toWkt() on the vector objects to retrieve their WKT 
representation.
Using the WKT, you can insert them into a FeatureSource.

There should be several posts with info on how to create a temporary 
featuresource,
and layer in the archives.

If you need more help, please write again.

Regards, Kenneth Skovhede, GEOGRAF A/S



gnoviello skrev:
> i'm using MapGuideOpensource 2.1 with the Fusion Viewer. I draw on 
> map, through OpenLayer api, some rectangles. I need to save the image 
> of the map, with this element drawn on map. I've used the RenderMap 
> method of the Rendering service and saved the given image, but this 
> method doesn't maintain the info of the drawn element Can you help me?
> ------------------------------------------------------------------------
> View this message in context: MgRenderingService and Fusion Viewer 
> <http://n2.nabble.com/MgRenderingService-and-Fusion-Viewer-tp3910669p3910669.html>
> Sent from the MapGuide Users mailing list archive 
> <http://n2.nabble.com/MapGuide-Users-f1803227.html> at Nabble.com.
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20091030/7aa2a5da/attachment.html


More information about the mapguide-users mailing list