Autodesk MapGuide Enterprise Developer
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
add new feature runtime
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
81 Views, 1 Replies
03-10-2008 05:52 AM
i use shp file as input
now i want to add new feature to existing layer
how could be it possible??????????????
now i want to add new feature to existing layer
how could be it possible??????????????
Re: add new feature runtime
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-30-2008 04:02 PM in reply to:
rush.sheetal
Use the UpdateFeatures() method of MgFeatureService
Pass it an MgFeatureCommandCollection object containing an MgInsertFeatures object.
The MgInsertFeatures object should specify the following
- The Feature Class you are inserting to
- A collection of properties that represent your new feature
When calling UpdateFeatures(), specify the resource ID of the Feature Source you want to update.
Hope that helps.
- Jackie
Pass it an MgFeatureCommandCollection object containing an MgInsertFeatures object.
The MgInsertFeatures object should specify the following
- The Feature Class you are inserting to
- A collection of properties that represent your new feature
When calling UpdateFeatures(), specify the resource ID of the Feature Source you want to update.
Hope that helps.
- Jackie
http://themapguyde.blogspot.com
http://au.linkedin.com/in/jackieng
http://au.linkedin.com/in/jackieng
