Yes, mapguide-rest has 2 sample applications that demonstrate how to do this.
1. Editable Published Data This allows you to do perform CRUD against a feature source configured with restcfg.json 2. OpenLayers 3 with turf.js This demonstrates inserting client-side turf.js generated geometries into a session-based feature source mapguide-rest can work against many different versions of MapGuide, so if you are working against the APIs provided by mapguide-rest, you'll generally be insulated against the underlying MapGuide Server. And since MapGuide is using FDO, your feature data access / CRUD is the same process and API, regardless if it's a SDF file, SHP file, SQL Server, Oracle, etc, etc. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Draw-polygon-using-Javascript-API-tp5292596p5294114.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