Re: [mapguide-users] Dynamically creating a line layer with SDF Feature Source

2007-11-30 Thread stsampler
I have a same problem. I quit the validation and works fine. Regards. Guillermo. uXuf wrote: Hi all, I am trying to add a layer of lines to my map using an existing FeatureSource in the library. This FeatureSource was generated from an SDF (created by Map 3D). I want to create the

Re: [mapguide-users] Dynamically creating a line layer with SDF Feature Source

2007-11-29 Thread uXuf
Hi Jackie, I am getting a little confused by all this. I am actually trying to dynamically add a copy of a layer that already exists in the map. You see, I already have a layer from the Arteries.FeatureSource in my map. I just want to check out how dynamically created layers can be added. So I

Re: [mapguide-users] Dynamically creating a line layer with SDF Feature Source

2007-11-28 Thread Jackie Ng
Just looking at your code... Validation is failing because the $featureName should be an enumerated value ( FeatureClass or NamedExtension ) The value of $featureClass should actually be the resourceid of the layer definition xml document. The current value should be the current value of