The delete is easy with MaestroAPI:
con.DeleteResource(...resourceId...);
The MapGuideAPI has something similar.
The edit is tough.
If you are looking for a Web UI, try looking at WebStudio (bundled with
MapGuide).
If you are looking for a client side UI, try customizing Maestro.
Both projects are licensed under the LGPL license, and should thus be
usable from other projects.
If you have needs to customize Maestro for better use by your
application, you can create a feature request ticket,
and I'll try to make it happen. (Patches are always welcome).
What are the problems with the Refresh() call?
Have you tried FireBug for Firefox to examine the problem?
Regards, Kenneth Skovhede, GEOGRAF A/S
Greenhough, Jamie skrev:
Hey Kevin, I checked out your site. I am working on very similar
functionality. My users need to be able to ADD, DELETE, and EDIT
(stylize) layers.
I used the Maestro API to implement the ADD functionality. See one of my
previous messages for the code snippet here:
http://www.nabble.com/DWGLoadProcedure-td20016401.html
I also made a layerdefinition factory to create the XML necessary for
creating the .LayerDefintion.
For the layer to show up immediately, after the save, you need to invoke
the Refresh() method from the viewerFrame. I haven't had any luck
calling this method from a ASP user control yet. :(
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kevin_t
Sent: Tuesday, December 02, 2008 1:06 PM
To: [email protected]
Subject: [mapguide-users] Uploading Shapefile to Map for Immediate
DisplayProblem
I like to set it up so that people can upload shapefiles from their
computer
to my mapguide map and have it immediately add it as a layer to my map
and
show up on screen immediately. Does anybody know how to implement this
functionality? Or know where to download one that works?
I have inherited customization in PHP code that does this but it's not
working and I am unable to fix it.
The map is located at:
http://204.244.79.12/mapguide2009/uploadshp/canada_frameset.php
Under Tasks on the right > Upload Shapefile
Any help or suggestions will be greatly appreciated.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users