Some javascript/style in this post has been disabled (
why?)
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
Sent from the MapGuide
Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users