Hi Mark:

First, I'm confused about your question.
My experience is that I translated the same code ( the developer's guide
example  : task_pane_redlining.php & draw_line.php ) to C#.
And it works fine, but I just could draw a line or a polygon temporarily
stored in the session repository.
So, according to your question, I am not sure that your code can create a
permanent layer with feature source stored in the "Library://" or they are
just stored in the session step.

I am hurry-skurry to know how to create a permanent layer stored in the
"Library://".
I think the steps should be :
1. Login by "Administrator","Admin".
2. Open/Create Map with MgResourceIdentifier(with "Library://...")
3. Save the map to the "Library://".

But I have tried many different parameters in Open/Create/Save MgMap, but I
still can't make it works successfully.
If you have correct steps or code could demonstrate how to create a layer
with a feature source permanently, please provide me, I would deeply
appreciate it.

Thanks.

Patrick.


On 7/7/07, Mark Pendergraft <[EMAIL PROTECTED]> wrote:

 I'm having a really hard time creating a temporary feature source, on
which to store redlines.  I'm using the developer's guide example
(task_pane_redlining.php & draw_line.php) which I have translated into VB.
I can create a layer programmatically, and set it's feature source to an
existing layer, and things work fine.   But I cannot create the temporary
feature source, draw a line, and create a layer and then have that show up
on the map.  The layer shows up, and no errors occur in the code, and I am
even able to query the feature source, and it all seems to work…… except
that nothing shows up on the map.



If someone could provide an example of creating a feature source in .Net
and/or creating a feature source, and a layer programmatically, I would
greatly appreciate it.



Thanks.



[image: cid:[email protected]]

*Ph: (425) 486-1252  Fx: (425) 486-6108  
**www.meadgilman.com*<http://www.meadgilman.com/>
**



_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


<<inline: image003.jpg>>

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to