Do you want this feature to be as part of the server-side rendered map or a
client-side feature overlaid on your map viewer?

If server-side, just use MgWktReaderWriter to get the WKT as MgGeometry and
then use the feature service APIs to insert this feature with the converted
MgGeometry.

For client-side, if you're using OpenLayers (ie. Fusion), they have a WKT
format driver that can convert from WKT to an OpenLayers feature. There is
no API in the AJAX viewer to overlay client-side geometries.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Draw-polygon-using-Javascript-API-tp5292596p5293179.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to