[mapguide-users] Dynamically adding data in a session

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Tue Jan 6 07:48:46 EST 2009


You can see how to add/create a FeatureSource, add data to it, and 
create a LayerDefinition,
if you look at the "Buffer" code in the AJAX viewer (buffer*.php in the 
www\mapviewerphp folder).

It also shows how to add this to the runtime map, which in turn displays 
it to the client.

Regards, Kenneth Skovhede, GEOGRAF A/S



Arnaud De Groof skrev:
>
> Hi,
>
>  
>
> I have carried out a specific command that creates new data in a 
> session. Is it possible to add this data in the WebLayout of this 
> session thanks to a PHP command?
>
> Which are the steps to create a FeatureRessource and a LayerDefinition 
> (I have already realized a PHP command to update the MapDefinition and 
> the WebLayout)?
>
>  
>
> Thanks
>
>  
>
> Arnaud De Groof
>
>  
>
> *
> ------------------------------------------------------------------------
> E-MAIL DISCLAIMER*
>
> The present message may contain confidential and/or legally privileged 
> information. If you are not the intended addressee and in case of a 
> transmission error, please notify the sender immediately and destroy 
> this E-mail. Disclosure, reproduction or distribution of this document 
> and its possible attachments is strictly forbidden.
>
> SPACEBEL denies all liability for incomplete, improper, inaccurate, 
> intercepted, (partly) destroyed, lost and/or belated transmission of 
> the current information given that unencrypted electronic transmission 
> cannot currently be guaranteed to be secure or error free.
> Upon request or in conformity with formal, contractual agreements, an 
> originally signed hard copy will be sent to you to confirm the 
> information contained in this E-mail.
>
> SPACEBEL denies all liability where E-mail is used for private use.
>
> SPACEBEL cannot be held responsible for possible viruses that might 
> corrupt this message and/or your computer system.
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090106/219888a8/attachment.html


More information about the mapguide-users mailing list